upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/http
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-12-11 16:45:34 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-12-11 16:46:01 +0000
commit52489d3b1a7d79e164b4cc901b53fd06c05ce1b1 (patch)
tree9be147a22a95b7634a8120a60f2cd8899805088a /src/http
parent6d0447f31eb9f9282e60ac3c90c665a8b3781331 (diff)
sync: test sync works without negentropy and add disable option in sync
Diffstat (limited to 'src/http')
-rw-r--r--src/http/nip11.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/nip11.rs b/src/http/nip11.rs
index 8c18dde..7df8306 100644
--- a/src/http/nip11.rs
+++ b/src/http/nip11.rs
@@ -109,6 +109,7 @@ mod tests {
109 sync_max_backoff_secs: 3600, 109 sync_max_backoff_secs: 3600,
110 sync_disconnect_check_interval_secs: 60, 110 sync_disconnect_check_interval_secs: 60,
111 sync_base_backoff_secs: 5, 111 sync_base_backoff_secs: 5,
112 sync_disable_negentropy: false,
112 }; 113 };
113 114
114 let doc = RelayInformationDocument::from_config(&config); 115 let doc = RelayInformationDocument::from_config(&config);
@@ -147,6 +148,7 @@ mod tests {
147 sync_max_backoff_secs: 3600, 148 sync_max_backoff_secs: 3600,
148 sync_disconnect_check_interval_secs: 60, 149 sync_disconnect_check_interval_secs: 60,
149 sync_base_backoff_secs: 5, 150 sync_base_backoff_secs: 5,
151 sync_disable_negentropy: false,
150 }; 152 };
151 153
152 let doc = RelayInformationDocument::from_config(&config); 154 let doc = RelayInformationDocument::from_config(&config);