From 47add6381d2a46d5b04a62e2cdcf58cf48808ad4 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Tue, 25 Aug 2026 11:14:38 +0200 Subject: [PATCH] Increase queues for throughput tests --- tests/throughput.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/throughput.py b/tests/throughput.py index ad27e178..8f5f0ef6 100644 --- a/tests/throughput.py +++ b/tests/throughput.py @@ -704,6 +704,12 @@ def _start_transport(): "[interfaces]\n" ) + # Raise queue lengths for to avoid drops + # at high feed rates + RNS.Transport.INBOUND_DA_QUEUE_LENGTH = 4096 + RNS.Transport.INBOUND_AN_QUEUE_LENGTH = 1024 + RNS.Transport.INBOUND_PR_QUEUE_LENGTH = 1024 + RNS.Transport.INBOUND_IL_QUEUE_LENGTH = 1024 _instance = RNS.Reticulum(configdir=config_dir, loglevel=RNS.LOG_CRITICAL, logdest=lambda *a, **k: None)