summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorGabriel Mazetto <brodock@gmail.com>2015-12-03 21:24:39 -0200
committerGabriel Mazetto <brodock@gmail.com>2015-12-04 11:29:45 -0200
commit496870ddec632ae13cff8b5e8f6ca0bff0fa3ec7 (patch)
tree5d6cfe38c84dd1693ba7441c26f62dbff5a24e39 /app/workers
parent95fd79834acd41cc8bc5013bf94fd6770eb13271 (diff)
downloadgitlab-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.rb3
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'