overlooked one last old single process check
This commit is contained in:
parent
a614985d83
commit
bdd6b9127a
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ require 'resque'
|
|||
|
||||
Resque::Plugins::Timeout.timeout = 120
|
||||
|
||||
if !ENV['SINGLE_PROCESS'] && AppConfig[:redis_url]
|
||||
if !AppConfig.single_process_mode? && AppConfig[:redis_url]
|
||||
Resque.redis = Redis.new(:host => AppConfig[:redis_url], :port => 6379)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue