diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-21 12:09:35 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-21 12:09:35 +0000 |
commit | 7e5b78ee035a9cb43c65c029e4305ff7357b07d2 (patch) | |
tree | b6d57d9674d97eb1fa22110a855b32682de22ef3 /app/workers/repository_check/batch_worker.rb | |
parent | ea53c9c3c316a6eeb33da670e1e5bcbc39c6c79c (diff) | |
download | gitlab-ce-7e5b78ee035a9cb43c65c029e4305ff7357b07d2.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/workers/repository_check/batch_worker.rb')
-rw-r--r-- | app/workers/repository_check/batch_worker.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/repository_check/batch_worker.rb b/app/workers/repository_check/batch_worker.rb index a8744638d7b..88a8f98aaf6 100644 --- a/app/workers/repository_check/batch_worker.rb +++ b/app/workers/repository_check/batch_worker.rb @@ -4,6 +4,8 @@ module RepositoryCheck class BatchWorker # rubocop:disable Scalability/IdempotentWorker include ApplicationWorker + data_consistency :always + sidekiq_options retry: 3 include RepositoryCheckQueue include ExclusiveLeaseGuard |