diff options
author | Sean McGivern <sean@gitlab.com> | 2017-04-06 20:13:52 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-04-14 15:20:55 +0200 |
commit | 856dcd1832a9351cebcabbf3fc2149e13145a699 (patch) | |
tree | 163365620be770ed7304a8b692dca6e16fa24e61 /app/workers | |
parent | 945bf66d7a7e80d6be422e7c14cbce1bdd35523f (diff) | |
download | gitlab-ce-856dcd1832a9351cebcabbf3fc2149e13145a699.tar.gz |
Fix usage ping worker queue
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/gitlab_usage_ping_worker.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/workers/gitlab_usage_ping_worker.rb b/app/workers/gitlab_usage_ping_worker.rb index 4a9d626caec..2f02235b0ac 100644 --- a/app/workers/gitlab_usage_ping_worker.rb +++ b/app/workers/gitlab_usage_ping_worker.rb @@ -2,11 +2,9 @@ class GitlabUsagePingWorker LEASE_TIMEOUT = 86400 include Sidekiq::Worker + include CronjobQueue include HTTParty - # This is not guaranteed to succeed, so don't retry on failure - sidekiq_options queue: :default, retry: false - def perform return unless current_application_settings.usage_ping_enabled |