1
0
Fork 0
forked from fedi/mastodon

Don't use rack timeout in any but production environments

This commit is contained in:
Eugen Rochko 2016-12-21 19:10:40 +01:00
parent c4bc5c8930
commit 6d71044c85

View file

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