aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2021-09-07 13:54:24 +0200
committerLoïc Hoguin <[email protected]>2021-09-07 13:54:24 +0200
commit57f4bae7793b1472676f3a99e8c0d475e71fc82b (patch)
treee563a6ce6bc6d8bdd2a94a2749da53a401759630 /doc/src/manual
parent0277ef97335099cfb64d10b5382c87486b27717a (diff)
downloadranch-57f4bae7793b1472676f3a99e8c0d475e71fc82b.tar.gz
ranch-57f4bae7793b1472676f3a99e8c0d475e71fc82b.tar.bz2
ranch-57f4bae7793b1472676f3a99e8c0d475e71fc82b.zip
Tweak the alarms documentation
Diffstat (limited to 'doc/src/manual')
-rw-r--r--doc/src/manual/ranch.asciidoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/manual/ranch.asciidoc b/doc/src/manual/ranch.asciidoc
index af006a2..14add7d 100644
--- a/doc/src/manual/ranch.asciidoc
+++ b/doc/src/manual/ranch.asciidoc
@@ -117,8 +117,8 @@ None of the options are required.
alarms (#{})::
-Alarms to call a function when the number of connections under a
-connection supervisor reaches or exceeds a defined treshold.
+Alarms to call a function when the number of connections tracked
+by one connection supervisor reaches or exceeds a defined treshold.
+
The map keys are the alarm names, which can be any `term`. The
associated values are the respective alarm options, again in a map
@@ -131,8 +131,8 @@ Must be set to `num_connections`.
treshold:::
Treshold value, which must be a `non_neg_integer`. When the
-number of connections under a connection supervisor reaches
-or exceeds this value, The alarm will trigger and call
+number of connections tracked by a single connection supervisor
+reaches or exceeds this value, The alarm will trigger and call
the function defined in the `callback` key (see below).
callback:::