about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-06-15 19:46:25 +0200
committerGitHub <noreply@github.com>2018-06-15 19:46:25 +0200
commit53f0452b70445831664431ef7720d8ec2d361656 (patch)
tree8da2a624348d135ea28a25abfe6a95f516430102 /config
parentca85658975dd6c85fbe5cc725698fe3a34d1234e (diff)
Remove rack-timeout (#7809)
Timeout considered harmful due to leaving the app in a broken
state, including unreaped database connections
Diffstat (limited to 'config')
-rw-r--r--config/initializers/timeout.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/config/initializers/timeout.rb b/config/initializers/timeout.rb
deleted file mode 100644
index de87fd906..000000000
--- a/config/initializers/timeout.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-Rack::Timeout::Logger.disable
-Rack::Timeout.service_timeout = false
-
-if Rails.env.production?
-  Rack::Timeout.service_timeout = 90
-end