summaryrefslogtreecommitdiff
path: root/app/workers/gitlab_service_ping_worker.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-21 12:09:35 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-21 12:09:35 +0000
commit7e5b78ee035a9cb43c65c029e4305ff7357b07d2 (patch)
treeb6d57d9674d97eb1fa22110a855b32682de22ef3 /app/workers/gitlab_service_ping_worker.rb
parentea53c9c3c316a6eeb33da670e1e5bcbc39c6c79c (diff)
downloadgitlab-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.rb2
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