fix for rescue job failed on 171

This commit is contained in:
Matthew K. Fu JuYuan 2012-10-08 16:42:49 +08:00
parent 0663e43be7
commit 89b1aace8a
2 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,7 @@ require 'resque_scheduler/server'
# require 'yaml'
Resque.redis = 'localhost:6379'
Resque.redis.namespace = "resque:nccu"
Resque.redis.namespace = "resque"
# If you want to be able to dynamically change the schedule,
# uncomment this line. A dynamic schedule can be updated via the

View File

@ -77,7 +77,6 @@ namespace :mid_site do
local_user.save!
end
sys_users = User.all(conditions: {admin: false}).includes(:avatar).to_a
Rails.cache.write('user_setting', sys_users)
end