Add proper error page for request timeouts
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user