From 5b5b653430451afe956c3ce9a7562791fba426fa Mon Sep 17 00:00:00 2001 From: Max Inden Date: Fri, 30 Sep 2022 18:29:21 +0100 Subject: [PATCH] ping/rust/src/main: Decrease ping interval (#46) This will speed up test runs. --- ping/rust/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ping/rust/src/main.rs b/ping/rust/src/main.rs index b9fd6e8..dff75d0 100644 --- a/ping/rust/src/main.rs +++ b/ping/rust/src/main.rs @@ -52,7 +52,7 @@ async fn main() -> Result<(), Box> { development_transport(local_key).await?, ping::Behaviour::new( ping::Config::new() - .with_interval(Duration::from_secs(10)) + .with_interval(Duration::from_secs(1)) .with_keep_alive(true), ), local_peer_id,