Skip to content

Commit 281cc0e

Browse files
committed
fix: set ping timeout to 10 seconds
1 parent f0a1830 commit 281cc0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/charon-p2p/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ impl P2PConfigBuilder {
165165
/// The default ping interval.
166166
pub const DEFAULT_PING_INTERVAL: Duration = Duration::from_secs(1);
167167
/// The default ping timeout.
168-
pub const DEFAULT_PING_TIMEOUT: Duration = Duration::from_secs(5);
168+
pub const DEFAULT_PING_TIMEOUT: Duration = Duration::from_secs(10);
169169

170170
/// Returns the default ping configuration.
171171
pub fn default_ping_config() -> ping::Config {

0 commit comments

Comments
 (0)