From e9d18b7f48f1aa6e50195be3f7ff8872ba6a410a Mon Sep 17 00:00:00 2001 From: Aaron Weiss Date: Thu, 23 Jul 2020 13:36:00 -0400 Subject: [PATCH] increased default ping timeout to 20 seconds --- src/client/data/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/data/config.rs b/src/client/data/config.rs index 9bfeb50..2fd2950 100644 --- a/src/client/data/config.rs +++ b/src/client/data/config.rs @@ -578,7 +578,7 @@ impl Config { /// response. /// This defaults to 10 seconds when not specified. pub fn ping_timeout(&self) -> u32 { - self.ping_timeout.as_ref().cloned().unwrap_or(10) + self.ping_timeout.as_ref().cloned().unwrap_or(20) } /// The amount of time in seconds to consider a window for burst messages. The message throttling