edge: correct the dead-backend detection bound in comments (~75s worst case, matches the test's own arithmetic)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6
This commit is contained in:
Claude committed 2026-11-25 07:02:16 -08:00
1 parent 06e5ad0ce7
commit 5ec7d9b6d3
2 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ What this pins (the real `haproxy -c` of the same config is the
`check-timing` assertions in scripts/validate-rendered-config.py): `check-timing` assertions in scripts/validate-rendered-config.py):
* exactly one default-server line, in `defaults`, with the agreed timing; * exactly one default-server line, in `defaults`, with the agreed timing;
* `spread-checks 50` in `global` (documented max, 0..50); * `spread-checks 50` in `global` (documented max, 0..50);
* the agreed timing detects a dead backend in <= ~65 s (inside the 1-2 * the agreed timing detects a dead backend in <= ~75 s worst case (inside the 1-2
minutes Josh accepted) -- computed from the numbers, so changing one of minutes Josh accepted) -- computed from the numbers, so changing one of
them without re-justifying the other fails here; them without re-justifying the other fails here;
* no template puts inter/fastinter/downinter on a customer server line * no template puts inter/fastinter/downinter on a customer server line
+4 -3
View File
@@ -211,9 +211,10 @@ defaults
# downinter 30s a server already fully DOWN is re-tested at the same # downinter 30s a server already fully DOWN is re-tested at the same
# low rate. # low rate.
# rise 2 fall 3 the HAProxy defaults, stated so they are pinned. # rise 2 fall 3 the HAProxy defaults, stated so they are pinned.
# A dead backend is marked DOWN in at most ~65s (first failing check # A dead backend is marked DOWN in at most ~75s (first failing check
# <= 45s after it dies, then two more at fastinter ~10s each); a recovered # <= 45s after it dies, then two more at fastinter, each <= 15s with the
# one is back UP in about the same. Servers without `check` are unaffected. # +50% jitter; ~50s typical); a recovered one is back UP in about the
# same (downinter <= 45s, then one more at fastinter). Servers without `check` are unaffected.
# The Coraza SPOA server sets its own fast timing (hap_coraza_spoa_backend.tpl). # The Coraza SPOA server sets its own fast timing (hap_coraza_spoa_backend.tpl).
default-server inter 30s fastinter 10s downinter 30s rise 2 fall 3 default-server inter 30s fastinter 10s downinter 30s rise 2 fall 3
timeout tarpit 10s # Tarpit delay for low-level scanners (before silent-drop) timeout tarpit 10s # Tarpit delay for low-level scanners (before silent-drop)