docs: clarify that worker_exit hook runs *in* the worker

This commit is contained in:
Jan-Philip Gehrcke 2016-05-04 20:01:27 +02:00
parent f4842a5ab8
commit 66a07032ba

View File

@ -856,7 +856,7 @@ worker_exit
def worker_exit(server, worker): def worker_exit(server, worker):
pass pass
Called just after a worker has been exited. Called in the worker, right before it terminates.
The callable needs to accept two instance variables for the Arbiter and The callable needs to accept two instance variables for the Arbiter and
the just-exited Worker. the just-exited Worker.