diff --git a/config/initializers/resque.rb b/config/initializers/resque.rb index 0fa2a4c6f..bd7a91fe5 100644 --- a/config/initializers/resque.rb +++ b/config/initializers/resque.rb @@ -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 diff --git a/lib/tasks/mid_site_sync.rake b/lib/tasks/mid_site_sync.rake index 707a609b3..e3ee411b0 100644 --- a/lib/tasks/mid_site_sync.rake +++ b/lib/tasks/mid_site_sync.rake @@ -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