From cb44c82bdff6992c4968c6ddae8191ebab18f993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Fri, 29 Nov 2024 20:49:32 +0000 Subject: [PATCH] remove default duration from SwarmExt::new_ephemeral --- swarm-test/src/lib.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/swarm-test/src/lib.rs b/swarm-test/src/lib.rs index 0631544cf14..0bc417dd8b1 100644 --- a/swarm-test/src/lib.rs +++ b/swarm-test/src/lib.rs @@ -246,13 +246,7 @@ where transport, behaviour_fn(identity), peer_id, - libp2p_swarm::Config::with_async_std_executor() - // Some tests need - // connections to be kept - // alive beyond what the - // individual behaviour - // configures., - .with_idle_connection_timeout(Duration::from_secs(5)), + libp2p_swarm::Config::with_async_std_executor(), ) }