Merge pull request #869 from getcwd/master

arbiter: reopen log files first then signal workers
This commit is contained in:
Randall Leeds 2014-09-05 16:28:28 -07:00
commit d0e45c8fab

View File

@ -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):
"""\