diff options
author | Eric Wong <e@80x24.org> | 2013-10-30 18:32:53 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-10-31 05:04:30 +0000 |
commit | 3741b945dcaf2e432f9e0088b4553d17f5c68f2b (patch) | |
tree | 716e849598eb744e488b1de68309b92c817a0703 /Documentation | |
parent | bfe699496ced8f73f659da0f0857fda614fb40b6 (diff) | |
download | yahns-3741b945dcaf2e432f9e0088b4553d17f5c68f2b.tar.gz |
Otherwise, the server may stay running forever if a client chooses to stay forever (and there is no FD pressure).
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/yahns_config.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/yahns_config.txt b/Documentation/yahns_config.txt index db2634c..b49617b 100644 --- a/Documentation/yahns_config.txt +++ b/Documentation/yahns_config.txt @@ -419,6 +419,17 @@ Ruby it is running under. Default: uses the global, :default queue if none is specified +* shutdown_timeout SECONDS + + This defines the timeout for gracefully exiting the process if there + are still connected clients. This should generally be higher or equal + to the app with the highest client_timeout value. + + Increase this if your application has slow endpoints which may take + longer than the default timeout. + + Default: max client_timeout value of all apps in the process + * worker_processes INTEGER [&BLOCK] This directive allows yahns to use a master/worker configuration to |