feat(main): add bounded randomized check-interval jitter across nodes

This commit is contained in:
patrick committed 2026-03-05 20:39:22 -05:00
1 parent b34ac69ac1
commit d2fdd5be44
7 files changed
+72 -3

No files matched your search

+2
View File
@@ -21,6 +21,7 @@ The standard `crowdsec-firewall-bouncer` can occasionally experience "ghost" des
### The Orchestrator (`main.py`)
- Runs the reconcile loop (default `600s` interval).
- Applies bounded random check jitter (default `10%`) to avoid synchronized polling across nodes.
- Triggers heal when any drift is detected.
- Applies flap suppression using drift fingerprint, not raw kernel count.
- Performs post-heal verification after a short delay (default `5s`).
@@ -71,6 +72,7 @@ sudo systemctl enable --now threat-agent
Supported env overrides:
- `SERVER_NAME`
- `CHECK_INTERVAL`
- `CHECK_JITTER_PCT`
- `HEAL_VERIFY_DELAY`
- `HEAL_MIN_INTERVAL`
- `LOG_PATH`