From 66a07032ba4768888b3c3d45e1cb384f26d412a0 Mon Sep 17 00:00:00 2001 From: Jan-Philip Gehrcke Date: Wed, 4 May 2016 20:01:27 +0200 Subject: [PATCH] docs: clarify that worker_exit hook runs *in* the worker --- docs/source/settings.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/settings.rst b/docs/source/settings.rst index bdb38df5..c0354d35 100644 --- a/docs/source/settings.rst +++ b/docs/source/settings.rst @@ -856,7 +856,7 @@ worker_exit def worker_exit(server, worker): 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 just-exited Worker.