mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-09-15 13:02:05 +09:00
Replace Redis with the Solid trifecta
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
task "resque:setup" do
|
||||
require_relative "../../config/environment"
|
||||
end
|
||||
|
||||
task "resque:pool:setup" do
|
||||
ActiveRecord::Base.connection.disconnect!
|
||||
|
||||
Resque::Pool.after_prefork do |job|
|
||||
ActiveRecord::Base.establish_connection
|
||||
Resque.redis.client.close
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user