aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-04-26 14:57:34 +0200
committerLoïc Hoguin <[email protected]>2019-04-26 14:57:34 +0200
commiteb74e3d30ca9fa47268d3a235f928341fb807423 (patch)
tree6972ea3495306166467b239c840b5eedb322809c /doc
parenta943324efff332c76a9738561b42c086fd910552 (diff)
downloadgun-eb74e3d30ca9fa47268d3a235f928341fb807423.tar.gz
gun-eb74e3d30ca9fa47268d3a235f928341fb807423.tar.bz2
gun-eb74e3d30ca9fa47268d3a235f928341fb807423.zip
Add the supervise option to start without supervisor
Diffstat (limited to 'doc')
-rw-r--r--doc/src/manual/gun.asciidoc6
1 files changed, 6 insertions, 0 deletions
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