Change Ping intervals of list-sellers to 24h instead of 100y

rendezvous-asb-refactor
Daniel Karzel 3 years ago
parent 7c2c1319bc
commit 5f70144c63
No known key found for this signature in database
GPG Key ID: 30C3FC2E438ADB6E

@ -25,7 +25,7 @@ pub async fn list_sellers(
ping: Ping::new( ping: Ping::new(
PingConfig::new() PingConfig::new()
.with_keep_alive(false) .with_keep_alive(false)
.with_interval(Duration::from_secs(3_154_000_000)), .with_interval(Duration::from_secs(86_400)),
), ),
}; };
let mut swarm = swarm::cli(identity, tor_socks5_port, behaviour).await?; let mut swarm = swarm::cli(identity, tor_socks5_port, behaviour).await?;

Loading…
Cancel
Save