Add proper error page for request timeouts
This commit is contained in:
parent
34ff11c496
commit
5b12624847
4 changed files with 17 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
Rack::Timeout::Logger.disable
|
||||
Rack::Timeout.service_timeout = false
|
||||
|
||||
if Rails.env.production?
|
||||
Rack::Timeout.service_timeout = 90
|
||||
Rack::Timeout::Logger.disable
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue