Don't use rack timeout in any but production environments

master
Eugen Rochko 8 years ago
parent c4bc5c8930
commit 6d71044c85
  1. 2
      config/initializers/timeout.rb

@ -1 +1 @@
Rack::Timeout.timeout = 30
Rack::Timeout.timeout = 30 if Rails.env.production?

Loading…
Cancel
Save