mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-26 23:00:06 +00:00
ping/rust/src/main: Decrease ping interval (#46)
This will speed up test runs.
This commit is contained in:
parent
a9292a67d2
commit
5b5b653430
@ -52,7 +52,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user