about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-26 18:48:56 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-26 18:48:56 +0100
commit7329fbd8a453bbd2fcbec8bd63b1390bfe7bc7b8 (patch)
tree42b73ff36fc0e7758ac9754ae512c1e5cc612412 /config
parentcc5c1e5febf588183145e30dc7e98e5ea33cd398 (diff)
Fix up timeout, improve contrast on "show more", add responsive style
for extremely wide monitors
Diffstat (limited to 'config')
-rw-r--r--config/initializers/timeout.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/initializers/timeout.rb b/config/initializers/timeout.rb
index 1e6315b2b..643780884 100644
--- a/config/initializers/timeout.rb
+++ b/config/initializers/timeout.rb
@@ -1 +1,4 @@
-Rack::Timeout.timeout = 30 if Rails.env.production?
+if Rails.env.production?
+  Rack::Timeout.service_timeout = 15
+  Rack::Timeout::Logger.disable
+end