mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Add versionadded marker to child_exit documentation
This commit is contained in:
parent
9fad8ab6f5
commit
bbaf078309
@ -1020,6 +1020,23 @@ Called after a worker processes the request.
|
|||||||
The callable needs to accept two instance variables for the Worker and
|
The callable needs to accept two instance variables for the Worker and
|
||||||
the Request.
|
the Request.
|
||||||
|
|
||||||
|
.. _child-exit:
|
||||||
|
|
||||||
|
child_exit
|
||||||
|
~~~~~~~~~~
|
||||||
|
|
||||||
|
* ::
|
||||||
|
|
||||||
|
def child_exit(server, worker):
|
||||||
|
pass
|
||||||
|
|
||||||
|
Called just after a worker has been exited, in the master process.
|
||||||
|
|
||||||
|
The callable needs to accept two instance variables for the Arbiter and
|
||||||
|
the just-exited Worker.
|
||||||
|
|
||||||
|
.. versionadded: 19.7
|
||||||
|
|
||||||
.. _worker-exit:
|
.. _worker-exit:
|
||||||
|
|
||||||
worker_exit
|
worker_exit
|
||||||
@ -1030,7 +1047,7 @@ worker_exit
|
|||||||
def worker_exit(server, worker):
|
def worker_exit(server, worker):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
Called just after a worker has been exited.
|
Called just after a worker has been exited, in the worker process.
|
||||||
|
|
||||||
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.
|
||||||
|
|||||||
@ -1661,6 +1661,8 @@ class ChildExit(Setting):
|
|||||||
|
|
||||||
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.
|
||||||
|
|
||||||
|
.. versionadded: 19.7
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user