From eb74e3d30ca9fa47268d3a235f928341fb807423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 26 Apr 2019 14:57:34 +0200 Subject: Add the supervise option to start without supervisor --- doc/src/manual/gun.asciidoc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/src') diff --git a/doc/src/manual/gun.asciidoc b/doc/src/manual/gun.asciidoc index 95ca2ad..3f8d43f 100644 --- a/doc/src/manual/gun.asciidoc +++ b/doc/src/manual/gun.asciidoc @@ -208,6 +208,7 @@ opts() :: #{ protocols => [http | http2], retry => non_neg_integer(), retry_timeout => pos_integer(), + supervise => boolean(), trace => boolean(), transport => tcp | tls, transport_opts => [gen_tcp:connect_option()] | [ssl:connect_option()], @@ -249,6 +250,11 @@ retry_timeout (5000):: Time between retries in milliseconds. +supervise (true):: + +Whether the Gun process should be started under the `gun_sup` +supervisor. Set to `false` to use your own supervisor. + trace (false):: Whether to enable `dbg` tracing of the connection process. Should -- cgit v1.2.3