ask module: configure resque redis and namespace by config/initializers/resque.rb
This commit is contained in:
parent
c7effcc96c
commit
ccd760445d
|
@ -15,7 +15,7 @@ namespace :resque do
|
||||||
require 'resque/scheduler'
|
require 'resque/scheduler'
|
||||||
|
|
||||||
# you probably already have this somewhere
|
# you probably already have this somewhere
|
||||||
Resque.redis = 'localhost:6379'
|
# Resque.redis = 'localhost:6379'
|
||||||
|
|
||||||
# If you want to be able to dynamically change the schedule,
|
# If you want to be able to dynamically change the schedule,
|
||||||
# uncomment this line. A dynamic schedule can be updated via the
|
# uncomment this line. A dynamic schedule can be updated via the
|
||||||
|
|
Reference in New Issue