about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--config/initializers/timeout.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/timeout.rb b/config/initializers/timeout.rb
index 8b7311e39..1e6315b2b 100644
--- a/config/initializers/timeout.rb
+++ b/config/initializers/timeout.rb
@@ -1 +1 @@
-Rack::Timeout.timeout = 30
\ No newline at end of file
+Rack::Timeout.timeout = 30 if Rails.env.production?