overlooked one last old single process check

This commit is contained in:
Jonne Hass 2011-09-11 14:19:26 +02:00
parent a614985d83
commit bdd6b9127a

View file

@ -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