mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
cleanup out-of-memory detection and correction code
This commit is contained in:
@@ -154,7 +154,8 @@ class Demon::Base
|
||||
begin
|
||||
delete_pid_file
|
||||
ensure
|
||||
exit
|
||||
# TERM is way cleaner than exit
|
||||
Process.kill("TERM", Process.pid)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user