summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-14 17:02:23 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-14 17:02:23 +0200
commit8bc8e7bc5e6598262a8aba20f064b83cd7c9f0a2 (patch)
treed5d6681bfafd71596a75cf5205abdf31424f0ca0 /lib/tasks
parent3169b900cc5005c88c7e6bdce0bdd36561978c01 (diff)
downloadgitlab-ci-8bc8e7bc5e6598262a8aba20f064b83cd7c9f0a2.tar.gz
Use faster sidekiq. Schedule is broken
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/resque.rake31
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/tasks/resque.rake b/lib/tasks/resque.rake
deleted file mode 100644
index 2e26680..0000000
--- a/lib/tasks/resque.rake
+++ /dev/null
@@ -1,31 +0,0 @@
-require 'resque/tasks'
-require 'resque_scheduler/tasks'
-
-namespace :resque do
- task :setup => :environment do
- require 'resque'
- require 'resque_scheduler'
-
- # you probably already have this somewhere
- #Resque.redis = 'localhost:6379'
-
- # If you want to be able to dynamically change the schedule,
- # uncomment this line. A dynamic schedule can be updated via the
- # Resque::Scheduler.set_schedule (and remove_schedule) methods.
- # When dynamic is set to true, the scheduler process looks for
- # schedule changes and applies them on the fly.
- # Note: This feature is only available in >=2.0.0.
- Resque::Scheduler.dynamic = true
-
- # The schedule doesn't need to be stored in a YAML, it just needs to
- # be a hash. YAML is usually the easiest.
- #Resque.schedule = YAML.load_file('your_resque_schedule.yml')
-
- # If your schedule already has +queue+ set for each job, you don't
- # need to require your jobs. This can be an advantage since it's
- # less code that resque-scheduler needs to know about. But in a small
- # project, it's usually easier to just include you job classes here.
- # So, something like this:
- #require 'jobs'
- end
-end