impress/config/initializers/resque.rb

3 lines
57 B
Ruby

Resque.after_fork do
Resque.redis.client.reconnect
end