mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 13:09:18 +08:00
DEV: suppress assets logs from qunit tests (#13871)
Partially reverts: 956f849250
Note that this way of running tests will soon be deprecated in favor of `ember test` and this shouldn’t matter anymore.
This commit is contained in:
parent
5a2ad7e386
commit
1b649016d9
|
@ -25,7 +25,7 @@ end
|
|||
# feel free to point this anywhere accessible on the filesystem
|
||||
pid (ENV["UNICORN_PID_PATH"] || "#{discourse_path}/tmp/pids/unicorn.pid")
|
||||
|
||||
if ENV["RAILS_ENV"] != "production"
|
||||
if ENV["RAILS_ENV"] == "development" || !ENV["RAILS_ENV"]
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user