increased default ping timeout to 20 seconds

This commit is contained in:
Aaron Weiss 2020-07-23 13:36:00 -04:00
parent 7ac4585871
commit e9d18b7f48
No known key found for this signature in database
GPG key ID: 047D32DF25DC22EF

View file

@ -578,7 +578,7 @@ impl Config {
/// response. /// response.
/// This defaults to 10 seconds when not specified. /// This defaults to 10 seconds when not specified.
pub fn ping_timeout(&self) -> u32 { 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 /// The amount of time in seconds to consider a window for burst messages. The message throttling