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

This commit is contained in:
Daniel Karzel 2021-07-01 17:54:47 +10:00
parent 7c2c1319bc
commit 5f70144c63
No known key found for this signature in database
GPG Key ID: 30C3FC2E438ADB6E

View File

@ -25,7 +25,7 @@ pub async fn list_sellers(
ping: Ping::new(
PingConfig::new()
.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?;