summaryrefslogtreecommitdiff
path: root/app/workers/database/batched_background_migration/execution_worker.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-10 09:11:57 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-10 09:11:57 +0000
commitef4c0a743bcfee11a647c9ada6249c3399888866 (patch)
treef43883d0089f43812fee15ba60c02554583d7643 /app/workers/database/batched_background_migration/execution_worker.rb
parent36ff95a8a93225f47a833989429cc766a6ff2661 (diff)
downloadgitlab-ce-ef4c0a743bcfee11a647c9ada6249c3399888866.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/workers/database/batched_background_migration/execution_worker.rb')
-rw-r--r--app/workers/database/batched_background_migration/execution_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/database/batched_background_migration/execution_worker.rb b/app/workers/database/batched_background_migration/execution_worker.rb
index b59e4bd1f86..37b40c73ca6 100644
--- a/app/workers/database/batched_background_migration/execution_worker.rb
+++ b/app/workers/database/batched_background_migration/execution_worker.rb
@@ -11,7 +11,7 @@ module Database
INTERVAL_VARIANCE = 5.seconds.freeze
LEASE_TIMEOUT_MULTIPLIER = 3
- MAX_RUNNING_MIGRATIONS = 2
+ MAX_RUNNING_MIGRATIONS = 4
included do
data_consistency :always