Skip to content

Commit

Permalink
remove default duration from SwarmExt::new_ephemeral
Browse files Browse the repository at this point in the history
  • Loading branch information
jxs committed Nov 29, 2024
1 parent 7432e60 commit cb44c82
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions swarm-test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
)
}

Expand Down

0 comments on commit cb44c82

Please sign in to comment.