diff options
Diffstat (limited to 'doc/src/manual/ranch.get_max_connections.asciidoc')
-rw-r--r-- | doc/src/manual/ranch.get_max_connections.asciidoc | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/src/manual/ranch.get_max_connections.asciidoc b/doc/src/manual/ranch.get_max_connections.asciidoc index 3267c2d..d10c975 100644 --- a/doc/src/manual/ranch.get_max_connections.asciidoc +++ b/doc/src/manual/ranch.get_max_connections.asciidoc @@ -2,7 +2,7 @@ == Name -ranch:get_max_connections - Get the max number of connections +ranch:get_max_connections - Get the max number of connections per connection supervisor == Description @@ -12,7 +12,7 @@ get_max_connections(Ref :: ranch:ref()) -> MaxConns :: ranch:max_conns() ---- -Get the max number of connections. +Get the max number of connections per connection supervisor. == Arguments @@ -22,11 +22,16 @@ The listener name. == Return value -The maximum number of connections is returned. +The maximum number of connections per connection supervisor +is returned. + +== Changelog + +* *2.0*: The maximum number of connections is now per connection supervisor. == Examples -.Get the max number of connections +.Get the max number of connections per connection supervisor [source,erlang] ---- MaxConns = ranch:get_max_connections(example). |