Don't use rack timeout in any but production environments
This commit is contained in:
1 parent
c4bc5c8930
commit
6d71044c85
1 file changed
+1
-1
@@ -1 +1 @@
|
||||
Rack::Timeout.timeout = 30
|
||||
Rack::Timeout.timeout = 30 if Rails.env.production?
|
||||
Reference in new issue
Block a user