forked from OpenNeo/impress
apparently this fixes resque for spawning child processes. okay.
This commit is contained in:
parent
0e5978d92d
commit
a9cdabda49
1 changed files with 3 additions and 0 deletions
3
config/initializers/resque.rb
Normal file
3
config/initializers/resque.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
Resque.after_fork do
|
||||
Resque.redis.client.reconnect
|
||||
end
|
Loading…
Reference in a new issue