from now on the rescue namespace will be decided by site object field: resque_namespace

This commit is contained in:
Matt K. Fu committed 2013-06-20 17:50:17 +08:00
1 parent ed06be93d6
commit 345c471fc9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ require 'resque_scheduler/server'
# require 'yaml'
Resque.redis = 'localhost:6379'
Resque.redis.namespace = "resque"
Resque.redis.namespace = Site.first.resque_namespace rescue APP_CONFIG['orbit']
# If you want to be able to dynamically change the schedule,
# uncomment this line. A dynamic schedule can be updated via the