mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix from tilgovi. thanks
This commit is contained in:
parent
1f598b9b74
commit
8903d0d53a
@ -243,7 +243,7 @@ class Arbiter(object):
|
||||
"SIGWINCH handling"
|
||||
if os.getppid() == 1 or os.getpgrp() != os.getpid():
|
||||
self.logger.info("graceful stop of workers")
|
||||
self.kill_workers(True)
|
||||
self.kill_workers(signal.SIGQUIT)
|
||||
else:
|
||||
self.log.info("SIGWINCH ignored. Not daemonized")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user