From 5f7dd22d4cb990934c84e5b96d4d8c98f9ab2178 Mon Sep 17 00:00:00 2001 From: kc1awv Date: Wed, 31 Dec 2025 17:06:15 -0500 Subject: [PATCH] add missing configuration options to default config template --- rrcd/cli.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/rrcd/cli.py b/rrcd/cli.py index 404b831..ea9670b 100644 --- a/rrcd/cli.py +++ b/rrcd/cli.py @@ -158,6 +158,21 @@ rate_limit_msgs_per_minute = 240 ping_interval_s = 0.0 ping_timeout_s = 0.0 +# Large payload transfer via RNS.Resource +# +# When a message exceeds the link MTU, rrcd can use RNS.Resource for reliable +# transfer instead of manual chunking. A small RESOURCE_ENVELOPE is sent first, +# followed by the payload as an RNS.Resource. +# +# enable_resource_transfer: enable/disable feature (default: true) +# max_resource_bytes: maximum size for a single resource (default: 256 KiB) +# max_pending_resource_expectations: max pending expectations per link (default: 8) +# resource_expectation_ttl_s: how long to wait for announced resource (default: 30s) +enable_resource_transfer = true +max_resource_bytes = 262144 +max_pending_resource_expectations = 8 +resource_expectation_ttl_s = 30.0 + [logging] # Log level for rrcd itself.