Don't use rack timeout in any but production environments

rebase/4.0.0rc2
Eugen Rochko 2016-12-21 19:10:40 +01:00
parent c4bc5c8930
commit 6d71044c85
1 changed files with 1 additions and 1 deletions

View File

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