Skip to content
Snippets Groups Projects
Commit ba06ae0b authored by Alper Akgun's avatar Alper Akgun
Browse files

Merge branch '362926-reduce-ci-consistency-checks-batch-sizes' into 'master'

Reduce CI Mirror Tables Consistency Check Batch Sizes

See merge request gitlab-org/gitlab!88177
parents 09498451 5ba4444c
No related branches found
No related tags found
No related merge requests found
Loading
@@ -3,9 +3,9 @@
Loading
@@ -3,9 +3,9 @@
module Gitlab module Gitlab
module Database module Database
class ConsistencyChecker class ConsistencyChecker
BATCH_SIZE = 1000 BATCH_SIZE = 500
MAX_BATCHES = 25 MAX_BATCHES = 20
MAX_RUNTIME = 30.seconds # must be less than the scheduling frequency of the ConsistencyCheck jobs MAX_RUNTIME = 5.seconds # must be less than the scheduling frequency of the ConsistencyCheck jobs
   
delegate :monotonic_time, to: :'Gitlab::Metrics::System' 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