aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual/ranch.info.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/manual/ranch.info.asciidoc')
-rw-r--r--doc/src/manual/ranch.info.asciidoc11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/src/manual/ranch.info.asciidoc b/doc/src/manual/ranch.info.asciidoc
index 69a8818..651daf2 100644
--- a/doc/src/manual/ranch.info.asciidoc
+++ b/doc/src/manual/ranch.info.asciidoc
@@ -8,10 +8,10 @@ ranch:info - Overview of Ranch listeners
[source,erlang]
----
-info() -> [{Ref, Info}]
+info() -> #{Ref := Info}
info(Ref) -> Info
-Info :: [{Key :: atom(), Value :: any()}]
+Info :: #{Key :: atom() := Value :: any()}
----
Overview of Ranch listeners.
@@ -31,7 +31,6 @@ pid:: Pid of the listener's top-level supervisor.
status:: Listener status, either running or suspended.
ip:: Interface Ranch listens on.
port:: Port number Ranch listens on.
-num_acceptors:: Number of acceptor processes.
max_connections:: Maximum number of connections per connection supervisor.
active_connections:: Number of active connections.
all_connections:: Number of connections, including those removed from the count.
@@ -40,8 +39,10 @@ transport_options:: Transport options.
protocol:: Protocol module.
protocol_options:: Protocol options.
-// @todo I mistakenly removed the num_acceptors key,
-// it should be added back.
+== Changelog
+
+* *2.0*: The listener info is now returned as a map.
+* *2.0*: The `num_acceptors` key has been removed.
== Examples