From bd9bfdf42dd529072e56e94f8e0ca4315db7330a Mon Sep 17 00:00:00 2001 From: ferigis Date: Mon, 23 May 2016 10:48:48 -0700 Subject: Renaming NbAcceptors to NumAcceptors --- doc/src/manual/ranch.asciidoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/src/manual/ranch.asciidoc b/doc/src/manual/ranch.asciidoc index 22ab159..2e4f177 100644 --- a/doc/src/manual/ranch.asciidoc +++ b/doc/src/manual/ranch.asciidoc @@ -68,10 +68,10 @@ This function MUST be used by a connection process to inform Ranch that it initialized properly and let it perform any additional operations before the socket can be safely used. -=== child_spec(Ref, NbAcceptors, Transport, TransOpts, Protocol, ProtoOpts) -> supervisor:child_spec() +=== child_spec(Ref, NumAcceptors, Transport, TransOpts, Protocol, ProtoOpts) -> supervisor:child_spec() Ref = ref():: Listener name. -NbAcceptors = non_neg_integer():: Number of acceptor processes. +NumAcceptors = non_neg_integer():: Number of acceptor processes. Transport = module():: Transport module. TransOpts = any():: Transport options. Protocol = module():: Protocol module. @@ -145,10 +145,10 @@ Set the protocol options for the given listener. The change will be applied immediately for all new connections. Old connections will not receive the new options. -=== start_listener(Ref, NbAcceptors, Transport, TransOpts, Protocol, ProtoOpts) -> {ok, pid()} | {error, badarg} +=== start_listener(Ref, NumAcceptors, Transport, TransOpts, Protocol, ProtoOpts) -> {ok, pid()} | {error, badarg} Ref = ref():: Listener name. -NbAcceptors = non_neg_integer():: Number of acceptor processes. +NumAcceptors = non_neg_integer():: Number of acceptor processes. Transport = module():: Transport module. TransOpts = any():: Transport options. Protocol = module():: Protocol module. -- cgit v1.2.3