Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion content/momentum/3/3-ad/ad-appendix-adaptive-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ received during a delivery attempt.
trigger: triggering threshold
if set to 1, trigger on the first occurrence
if set to "C/S", where C is a count and S is a number of seconds,
(e.g. 10/1 for 10 per second) trigger when the rate is crossed
trigger on the Cth occurrence within S seconds (e.g. 10/1: the
10th occurrence within one second)
action: the action to take when the rule is triggered.
{"suspend", "4 hours"} -- causes suspension for 4 hours
{"blackhole", "4 hours"} -- blackhole domain for 4 hours
Expand Down
2 changes: 1 addition & 1 deletion content/momentum/3/3-ad/ad-custom-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The elements of the responses table are as follows:

* `trigger` – The trigger threshold

If this element is set to `1`, the action is triggered on the first occurrence of the code. You can also set this to the number of occurrences per given period. For example, `10/1` triggers the action when more than 10 occurrences of this code are detected per second.
If this element is set to `1`, the action is triggered on the first occurrence of the code. You can also set this to the number of occurrences per given period. For example, `10/1` triggers the action when 10 or more occurrences of this code are detected within one second. A count of 1 per period (for example, `1/60`) triggers on every occurrence, like `1`.

* `action` – The action to take when a rule is triggered. Valid actions are as follows:

Expand Down
Loading