From 3ac3236b2f11f5e58ca9d86564ee44222bfacd9b Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 11 Nov 2026 14:11:11 +0100 Subject: [PATCH] Updated stale doc defaults --- RNS/Interfaces/Interface.py | 2 +- docs/source/interfaces.rst | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/RNS/Interfaces/Interface.py b/RNS/Interfaces/Interface.py index 4a3043e7..8beac7f1 100755 --- a/RNS/Interfaces/Interface.py +++ b/RNS/Interfaces/Interface.py @@ -69,7 +69,7 @@ class Interface: # Maximum amount of ingress limited announces # to hold at any given time. - MAX_HELD_ANNOUNCES = 256 + MAX_HELD_ANNOUNCES = 64 # Control parameters DEFAULT_GRAVITY = 0 diff --git a/docs/source/interfaces.rst b/docs/source/interfaces.rst index 6a671813..feeda507 100644 --- a/docs/source/interfaces.rst +++ b/docs/source/interfaces.rst @@ -1481,11 +1481,11 @@ but all the parameters are exposed for configuration if needed. sub-interfaces when a new client connects. * | The ``ic_burst_freq_new`` option sets the maximum announce ingress - frequency for newly spawned interfaces. Defaults to ``3.5`` + frequency for newly spawned interfaces. Defaults to ``3.0`` announces per second. * | The ``ic_burst_freq`` option sets the maximum announce ingress - frequency for other interfaces. Defaults to ``12`` announces + frequency for other interfaces. Defaults to ``10.0`` announces per second. *If an interface exceeds its burst frequency, incoming announces @@ -1494,21 +1494,21 @@ but all the parameters are exposed for configuration if needed. * | The ``ic_max_held_announces`` option sets the maximum amount of unique announces that will be held in the queue. Any additional - unique announces will be dropped. Defaults to ``256`` announces. + unique announces will be dropped. Defaults to ``64`` announces. * | The ``ic_burst_hold`` option sets how much time (in seconds) must pass after the burst frequency drops below its threshold, for the - announce burst to be considered cleared. Defaults to ``60`` + announce burst to be considered cleared. Defaults to ``15`` seconds. * | The ``ic_burst_penalty`` option sets how much time (in seconds) must pass after the burst is considered cleared, before held announces can - start being released from the queue. Defaults to ``5*60`` + start being released from the queue. Defaults to ``15`` seconds. * | The ``ic_held_release_interval`` option sets how much time (in seconds) must pass between releasing each held announce from the queue. Defaults - to ``30`` seconds. + to ``5`` seconds. All of the above settings can be configured both as instance-wide defaults under the ``[reticulum]`` section of the configuration file, or on a per-