From 46ad61fa9ef5ed931dc9f0919408bbc42ce38bd3 Mon Sep 17 00:00:00 2001 From: mfahampshire Date: Tue, 12 Sep 2023 17:00:48 +0200 Subject: [PATCH] upped handshake timeout from 5 to 10 secs --- sdk/rust/nym-sdk/examples/libp2p_shared/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/rust/nym-sdk/examples/libp2p_shared/lib.rs b/sdk/rust/nym-sdk/examples/libp2p_shared/lib.rs index ba33f1d91f..ce1a5cd0ff 100644 --- a/sdk/rust/nym-sdk/examples/libp2p_shared/lib.rs +++ b/sdk/rust/nym-sdk/examples/libp2p_shared/lib.rs @@ -7,4 +7,4 @@ pub mod substream; pub mod transport; /// The deafult timeout secs for [`transport::Upgrade`] future. -const DEFAULT_HANDSHAKE_TIMEOUT_SECS: u64 = 5; +const DEFAULT_HANDSHAKE_TIMEOUT_SECS: u64 = 10;