diff options
author | Loïc Hoguin <[email protected]> | 2017-05-31 14:11:38 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-05-31 14:11:38 +0200 |
commit | 2730f7188738cc7b1100e50bcc8567d33ecb3934 (patch) | |
tree | 66d1daac50363684954316dc6b371a51188ce6f8 /doc/src/manual/ranch.asciidoc | |
parent | a004ad710eddd0c21aaccc30d5633a76b06164b5 (diff) | |
download | ranch-2730f7188738cc7b1100e50bcc8567d33ecb3934.tar.gz ranch-2730f7188738cc7b1100e50bcc8567d33ecb3934.tar.bz2 ranch-2730f7188738cc7b1100e50bcc8567d33ecb3934.zip |
Deprecated ranch:start_listener/6 and child_spec/6
The NumAcceptors argument has been moved to transport option
num_acceptor, which defaults to 10. The functions now take
one less argument. The old functions are still here, though
deprecated.
Diffstat (limited to 'doc/src/manual/ranch.asciidoc')
-rw-r--r-- | doc/src/manual/ranch.asciidoc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/src/manual/ranch.asciidoc b/doc/src/manual/ranch.asciidoc index 13380fd..e0244c8 100644 --- a/doc/src/manual/ranch.asciidoc +++ b/doc/src/manual/ranch.asciidoc @@ -28,6 +28,7 @@ code. opt() = {ack_timeout, timeout()} | {connection_type, worker | supervisor} | {max_connections, max_conns()} + | {num_acceptors, pos_integer()} | {shutdown, timeout() | brutal_kill} | {socket, any()} ---- @@ -51,6 +52,8 @@ connection_type (worker):: Type of process that will handle the connection. max_connections (1024):: Maximum number of active connections. Soft limit. Using `infinity` will disable the limit entirely. +num_acceptors (10):: + Number of processes that accept connections. shutdown (5000):: Maximum allowed time for children to stop on listener shutdown. socket:: |