Add versionadded marker to child_exit documentation

This commit is contained in:
Berker Peksag 2017-02-05 01:29:06 +03:00
parent 9fad8ab6f5
commit bbaf078309
2 changed files with 20 additions and 1 deletions

View File

@ -1020,6 +1020,23 @@ Called after a worker processes the request.
The callable needs to accept two instance variables for the Worker and
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
@ -1030,7 +1047,7 @@ worker_exit
def worker_exit(server, worker):
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 just-exited Worker.

View File

@ -1661,6 +1661,8 @@ class ChildExit(Setting):
The callable needs to accept two instance variables for the Arbiter and
the just-exited Worker.
.. versionadded: 19.7
"""