commit 181be70c0fdf6428a05036d387a4ce57b940f11f
parent 5b0068e6cb5ce5603c2f97b2384d9c676bb00de8
Author: William Casarin <jb55@jb55.com>
Date: Sat, 25 Jan 2025 16:02:40 -0800
networking: increase ping interval
some relays are really slow to respond on this for some reason
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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,
}
}