1 diff --git a/config/unicorn.conf.rb b/config/unicorn.conf.rb
2 index 9fd348b074..40eb73b96e 100644
3 --- a/config/unicorn.conf.rb
4 +++ b/config/unicorn.conf.rb
5 @@ -27,17 +27,9 @@ pid(ENV["UNICORN_PID_PATH"] || "#{discourse_path}/tmp/pids/unicorn.pid")
7 if ENV["RAILS_ENV"] != "production"
8 logger Logger.new(STDOUT)
9 - # we want a longer timeout in dev cause first request can be really slow
10 - timeout(ENV["UNICORN_TIMEOUT"] && ENV["UNICORN_TIMEOUT"].to_i || 60)
12 - # By default, the Unicorn logger will write to stderr.
13 - # Additionally, some applications/frameworks log to stderr or stdout,
14 - # so prevent them from going to /dev/null when daemonized here:
15 - stderr_path "#{discourse_path}/log/unicorn.stderr.log"
16 - stdout_path "#{discourse_path}/log/unicorn.stdout.log"
17 - # nuke workers after 30 seconds instead of 60 seconds (the default)
21 +timeout(ENV["UNICORN_TIMEOUT"] && ENV["UNICORN_TIMEOUT"].to_i || 60)
23 # important for Ruby 2.0