diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2015-12-03 21:24:39 -0200 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2015-12-04 11:29:45 -0200 |
commit | 496870ddec632ae13cff8b5e8f6ca0bff0fa3ec7 (patch) | |
tree | 5d6cfe38c84dd1693ba7441c26f62dbff5a24e39 /app/workers | |
parent | 95fd79834acd41cc8bc5013bf94fd6770eb13271 (diff) | |
download | gitlab-ce-496870ddec632ae13cff8b5e8f6ca0bff0fa3ec7.tar.gz |
Migrate from Sidetiq to Sidekiq-cronfeature/sidekiq-cron
Updated Sidekiq to 3.5.x
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/stuck_ci_builds_worker.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/workers/stuck_ci_builds_worker.rb b/app/workers/stuck_ci_builds_worker.rb index 4e5eddbaba1..ca594e77e7c 100644 --- a/app/workers/stuck_ci_builds_worker.rb +++ b/app/workers/stuck_ci_builds_worker.rb @@ -1,11 +1,8 @@ class StuckCiBuildsWorker include Sidekiq::Worker - include Sidetiq::Schedulable BUILD_STUCK_TIMEOUT = 1.day - recurrence { daily } - def perform Rails.logger.info 'Cleaning stuck builds' |