diff --git a/README.md b/README.md index 9beb418..7d342cf 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ user_info = "I'm a test user for the irc crate." version = "irc:git:Rust" source = "https://github.com/aatxe/irc" ping_time = 180 -ping_timeout = 10 +ping_timeout = 20 burst_window_length = 8 max_messages_in_burst = 15 should_ghost = false diff --git a/src/client/data/config.rs b/src/client/data/config.rs index 45a4ee3..1f2216a 100644 --- a/src/client/data/config.rs +++ b/src/client/data/config.rs @@ -577,7 +577,7 @@ impl Config { /// Gets the amount of time in seconds for the client to disconnect after not receiving a ping /// response. - /// This defaults to 10 seconds when not specified. + /// This defaults to 20 seconds when not specified. pub fn ping_timeout(&self) -> u32 { self.ping_timeout.as_ref().cloned().unwrap_or(20) }