mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
reopen logs on USR1 to master
This commit is contained in:
parent
66f7271c5f
commit
1ebf60fbc3
@ -248,6 +248,7 @@ class Arbiter(object):
|
|||||||
Kill all workers by sending them a SIGUSR1
|
Kill all workers by sending them a SIGUSR1
|
||||||
"""
|
"""
|
||||||
self.kill_workers(signal.SIGUSR1)
|
self.kill_workers(signal.SIGUSR1)
|
||||||
|
self.log.reopen_files()
|
||||||
|
|
||||||
def handle_usr2(self):
|
def handle_usr2(self):
|
||||||
"""\
|
"""\
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user