about summary refs log tree commit diff
path: root/config/initializers/timeout.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/timeout.rb')
-rw-r--r--config/initializers/timeout.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/initializers/timeout.rb b/config/initializers/timeout.rb
index 06a29492e..de87fd906 100644
--- a/config/initializers/timeout.rb
+++ b/config/initializers/timeout.rb
@@ -1,4 +1,6 @@
+Rack::Timeout::Logger.disable
+Rack::Timeout.service_timeout = false
+
 if Rails.env.production?
   Rack::Timeout.service_timeout = 90
-  Rack::Timeout::Logger.disable
 end