Skip to content
Snippets Groups Projects
Unverified Commit 5ba4444c authored by Omar Qunsul's avatar Omar Qunsul Committed by Omar Qunsul
Browse files

Reduce CI Mirror Tables Consistency Check Batch Sizes

parent 3ef9bea8
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3,9 +3,9 @@
module Gitlab
module Database
class ConsistencyChecker
BATCH_SIZE = 1000
MAX_BATCHES = 25
MAX_RUNTIME = 30.seconds # must be less than the scheduling frequency of the ConsistencyCheck jobs
BATCH_SIZE = 500
MAX_BATCHES = 20
MAX_RUNTIME = 5.seconds # must be less than the scheduling frequency of the ConsistencyCheck jobs
 
delegate :monotonic_time, to: :'Gitlab::Metrics::System'
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment