From 6a52268b8c2c7e5d4fb9e9c813f470cffeff8333 Mon Sep 17 00:00:00 2001 From: Lloyd Date: Thu, 5 Mar 2026 10:39:35 +0000 Subject: [PATCH] Disabl as default advertisement rate limiting and adaptive scaling features in configuration --- config.yaml.example | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.yaml.example b/config.yaml.example index d9e5e2f..b0cca2a 100644 --- a/config.yaml.example +++ b/config.yaml.example @@ -43,7 +43,7 @@ repeater: # Uses a token bucket to smooth bursts. advert_rate_limit: # Master switch for token bucket limiting - enabled: true + enabled: false # Max burst size allowed immediately per pubkey # Keep this small for long advert intervals. bucket_capacity: 2 @@ -58,7 +58,7 @@ repeater: # Penalty box for repeat advert limit violations (per pubkey) advert_penalty_box: # Master switch for escalating cooldowns - enabled: true + enabled: false # Number of violations within decay window before cooldown starts violation_threshold: 2 # Reset violation count if pubkey stays quiet for this long @@ -74,7 +74,7 @@ repeater: # Rate limits scale with mesh busyness: quiet mesh = lenient, busy mesh = strict advert_adaptive: # Master switch for adaptive scaling - enabled: true + enabled: false # EWMA smoothing factor (0.0-1.0, higher = faster response) ewma_alpha: 0.1 # Seconds without metrics change before tier change takes effect (hysteresis)