mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #869 from getcwd/master
arbiter: reopen log files first then signal workers
This commit is contained in:
commit
d0e45c8fab
@ -256,8 +256,8 @@ class Arbiter(object):
|
||||
SIGUSR1 handling.
|
||||
Kill all workers by sending them a SIGUSR1
|
||||
"""
|
||||
self.kill_workers(signal.SIGUSR1)
|
||||
self.log.reopen_files()
|
||||
self.kill_workers(signal.SIGUSR1)
|
||||
|
||||
def handle_usr2(self):
|
||||
"""\
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user