Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMaxwell Salzberg <maxwell@joindiaspora.com>2011-09-08 21:46:36 +0400
committerMaxwell Salzberg <maxwell@joindiaspora.com>2011-09-08 21:46:36 +0400
commitcd7640a9710425643cb8a55a1547cc464a0e3cf2 (patch)
treecb49de9620e408b02e331eb2152fa924d27a8567 /config
parent0c00947fec9894878ed49f3128bd3dc6efdfee74 (diff)
add resque timeout
Diffstat (limited to 'config')
-rw-r--r--config/initializers/resque.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/resque.rb b/config/initializers/resque.rb
index eddb928dc..f68fe73ec 100644
--- a/config/initializers/resque.rb
+++ b/config/initializers/resque.rb
@@ -1,5 +1,6 @@
require 'resque'
+Resque::Plugins::Timeout.timeout = 120
if !ENV['SINGLE_PROCESS'] && AppConfig[:redis_url]
Resque.redis = Redis.new(:host => AppConfig[:redis_url], :port => 6379)