mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-15 06:43:16 +00:00
Don't use rack timeout in any but production environments
This commit is contained in:
parent
c4bc5c8930
commit
6d71044c85
1 changed files with 1 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
Rack::Timeout.timeout = 30
|
||||
Rack::Timeout.timeout = 30 if Rails.env.production?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue