Skip to content
Snippets Groups Projects
Commit 08d8f7af authored by Ismael Posada Trobo's avatar Ismael Posada Trobo
Browse files

DEV: Avoid $ globals

parent 2238f35c
Branches
Tags v2.8.0.beta10 v2.8.0.beta11
No related merge requests found
......@@ -25,7 +25,7 @@ end
pid (ENV["UNICORN_PID_PATH"] || "#{discourse_path}/tmp/pids/unicorn.pid")
if ENV["RAILS_ENV"] != "production"
logger Logger.new($stdout)
logger Logger.new(STDOUT)
# we want a longer timeout in dev cause first request can be really slow
timeout (ENV["UNICORN_TIMEOUT"] && ENV["UNICORN_TIMEOUT"].to_i || 60)
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment