From 181be70c0fdf6428a05036d387a4ce57b940f11f Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sat, 25 Jan 2025 16:02:40 -0800 Subject: [PATCH] networking: increase ping interval some relays are really slow to respond on this for some reason --- crates/enostr/src/relay/pool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/enostr/src/relay/pool.rs b/crates/enostr/src/relay/pool.rs index b1e776b4..284e089a 100644 --- a/crates/enostr/src/relay/pool.rs +++ b/crates/enostr/src/relay/pool.rs @@ -140,7 +140,7 @@ impl RelayPool { pub fn new() -> RelayPool { RelayPool { relays: vec![], - ping_rate: Duration::from_secs(25), + ping_rate: Duration::from_secs(45), debug: None, } }