queue, retry, config

This commit is contained in:
Kyle Drake 2013-07-11 21:10:11 -04:00
parent 91b4d8aa14
commit 93ede044d9
2 changed files with 11 additions and 1 deletions

View file

@ -25,6 +25,14 @@ if defined?(Pry)
Pry.commands.alias_command 'f', 'finish'
end
Sidekiq.configure_server do |config|
config.redis = { namespace: 'neocitiesworker' }
end
Sidekiq.configure_client do |config|
config.redis = { namespace: 'neocitiesworker' }
end
require File.join(DIR_ROOT, 'jobs', 'screenshot_job.rb')
Sequel.datetime_class = Time