rosa-build/config/initializers/1_resque.rb

15 lines
457 B
Ruby
Raw Permalink Normal View History

2016-05-28 19:21:02 +01:00
#require 'resque/server'
#require 'resque/status_server'
#require 'resque_scheduler'
#require 'resque_scheduler/server'
2016-05-28 19:21:02 +01:00
#::ResqueServer = ::Resque::Server # need for CanCan
2016-05-28 19:21:02 +01:00
#Resque::Mailer.default_queue_name = :notification
#Resque::Mailer.excluded_environments = [:test]
2016-05-28 19:21:02 +01:00
#unless Rails.env.test?
# PerformLater.config.enabled = true # this will default to false if unset
#end
2016-05-28 19:21:02 +01:00
#Resque::Plugins::Status::Hash.expire_in = (24 * 60 * 60) # 24hrs in seconds