From dee4be831cacbb8745b98b894c5e1ebc87078e2c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 30 Oct 2013 22:16:14 +0000 Subject: allow atfork_* hooks inside app blocks for ease-of-management This should allow users to more-easily enable/disable apps and their dependent atfork_* hooks. --- Documentation/yahns_config.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Documentation') diff --git a/Documentation/yahns_config.txt b/Documentation/yahns_config.txt index e58e578..3679494 100644 --- a/Documentation/yahns_config.txt +++ b/Documentation/yahns_config.txt @@ -176,6 +176,14 @@ Ruby it is running under. ## APP-BLOCK DIRECTIVES +* atfork_prepare, atfork_parent, atfork_child + + These are identical to the methods defined in WORKER_PROCESSES-LEVEL + DIRECTIVES, however they are available inside the app blocks for + convenience in case it is easier to organize per-app hooks. + + Default: (none) + * check_client_connection BOOLEAN When enabled, yahns will check the client connection by writing @@ -467,6 +475,9 @@ Ruby it is running under. ## WORKER_PROCESSES-LEVEL DIRECTIVES +Note: all of the atfork_* hooks described here are available inside the +"app" blocks, too. + * atfork_prepare &BLOCK This &BLOCK is executed in the parent before fork(2) operation. -- cgit v1.2.3-24-ge0c7