From 4941490233a728bc7c64fa80a53d15f772a1219f Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 11 Dec 2025 11:57:36 +0000 Subject: sync: add sync_base_backoff_secs config for better testing --- src/http/nip11.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/http') diff --git a/src/http/nip11.rs b/src/http/nip11.rs index 80165ee..19d482f 100644 --- a/src/http/nip11.rs +++ b/src/http/nip11.rs @@ -111,6 +111,8 @@ mod tests { sync_reconnect_delay_secs: 10, sync_reconnect_lookback_days: 3, sync_startup_jitter_ms: 10_000, + sync_disconnect_check_interval_secs: 60, + sync_base_backoff_secs: 5, }; let doc = RelayInformationDocument::from_config(&config); @@ -151,6 +153,8 @@ mod tests { sync_reconnect_delay_secs: 10, sync_reconnect_lookback_days: 3, sync_startup_jitter_ms: 10_000, + sync_disconnect_check_interval_secs: 60, + sync_base_backoff_secs: 5, }; let doc = RelayInformationDocument::from_config(&config); -- cgit v1.2.3