From d017c0f5860bc1a5c775c9a61db407e29c575f80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 18 Jul 2019 09:26:24 +0200 Subject: Tweak the migration guide --- doc/src/guide/migrating_from_1.7.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/src/guide/migrating_from_1.7.asciidoc b/doc/src/guide/migrating_from_1.7.asciidoc index 3724246..f63c346 100644 --- a/doc/src/guide/migrating_from_1.7.asciidoc +++ b/doc/src/guide/migrating_from_1.7.asciidoc @@ -23,7 +23,7 @@ for Erlang/OTP 19 and 20 has been removed. === Features added -* The `num_conns_sup` option has been added. It allows +* The `num_conns_sups` option has been added. It allows configuring the number of connection supervisors. It now defaults to `num_accceptors`. The old behavior can be obtained by setting this value to 1. @@ -73,7 +73,7 @@ for Erlang/OTP 19 and 20 has been removed. === Changed functions -* The `NumAcceptors` argument was removed from `ranch:start_listener/5`` +* The `NumAcceptors` argument was removed from `ranch:start_listener/5` and `ranch:child_spec/5` and moved to the transport options. * Ranch options can no longer be passed along with socket options -- cgit v1.2.3