From a9cdabda499c90d5d19d92aeec9937b8e15ecc75 Mon Sep 17 00:00:00 2001 From: Matchu Date: Mon, 28 Jan 2013 03:55:36 -0600 Subject: [PATCH] apparently this fixes resque for spawning child processes. okay. --- config/initializers/resque.rb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 config/initializers/resque.rb diff --git a/config/initializers/resque.rb b/config/initializers/resque.rb new file mode 100644 index 00000000..13a71e19 --- /dev/null +++ b/config/initializers/resque.rb @@ -0,0 +1,3 @@ +Resque.after_fork do + Resque.redis.client.reconnect +end