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/gitlab_service_ping_worker.rb | |
parent | ea53c9c3c316a6eeb33da670e1e5bcbc39c6c79c (diff) | |
download | gitlab-ce-7e5b78ee035a9cb43c65c029e4305ff7357b07d2.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/workers/gitlab_service_ping_worker.rb')
-rw-r--r-- | app/workers/gitlab_service_ping_worker.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/gitlab_service_ping_worker.rb b/app/workers/gitlab_service_ping_worker.rb index a27629eac0a..a6ff4ecc092 100644 --- a/app/workers/gitlab_service_ping_worker.rb +++ b/app/workers/gitlab_service_ping_worker.rb @@ -5,6 +5,8 @@ class GitlabServicePingWorker # rubocop:disable Scalability/IdempotentWorker LEASE_TIMEOUT = 86400 include ApplicationWorker + + data_consistency :always include CronjobQueue # rubocop:disable Scalability/CronWorkerContext include Gitlab::ExclusiveLeaseHelpers |