Use add_callback_from_signal in benchmark.py's sigchld handler.
This would manifest as an occasional deadlock when an 'ab' process finished.
This commit is contained in:
parent
18cfb371d4
commit
e239a8a736
|
@ -49,7 +49,7 @@ class RootHandler(RequestHandler):
|
|||
pass
|
||||
|
||||
def handle_sigchld(sig, frame):
|
||||
IOLoop.instance().add_callback(IOLoop.instance().stop)
|
||||
IOLoop.instance().add_callback_from_signal(IOLoop.instance().stop)
|
||||
|
||||
def main():
|
||||
parse_command_line()
|
||||
|
|
Loading…
Reference in New Issue