mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 15:52:45 +08:00
DEV: Remove logging when redis is terminated
This hasn't proved useful, just noisy.
This commit is contained in:
parent
1cbe2dd2ce
commit
feda7e1ddf
|
@ -49,5 +49,8 @@ if ENV['RAILS_ENV'] == "test" && ENV['TEST_ENV_NUMBER']
|
|||
ENV["DISCOURSE_REDIS_PORT"] = port.to_s
|
||||
ENV["RAILS_DB"] = "discourse_test_#{n}"
|
||||
|
||||
at_exit { STDERR.puts "Terminating redis #{n}"; Process.kill("SIGTERM", pid); Process.wait }
|
||||
at_exit do
|
||||
Process.kill("SIGTERM", pid)
|
||||
Process.wait
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user