mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
docs: clarify that worker_exit hook runs *in* the worker
This commit is contained in:
parent
f4842a5ab8
commit
66a07032ba
@ -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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user