Skip to content

Commit

Permalink
increased default ping timeout to 20 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
aatxe committed Jul 23, 2020
1 parent 7ac4585 commit e9d18b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/data/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9d18b7

Please sign in to comment.