Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25aca1eb authored by Mike Yu's avatar Mike Yu
Browse files

Shorten the value of max_idle_timeout

Set the value to 55 seconds by default before it is tunable.

Bug: 205922706
Test: cd packages/modules/DnsResolver && atest
Change-Id: I95f47015ff22044acb27df6f87e452c14d129658
parent f42426ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ const MAX_CONCURRENT_STREAM_SIZE: u64 = 100;
/// Maximum datagram size we will accept.
pub const MAX_DATAGRAM_SIZE: usize = 1350;
/// How long with no packets before we assume a connection is dead, in milliseconds.
pub const QUICHE_IDLE_TIMEOUT_MS: u64 = 180000;
pub const QUICHE_IDLE_TIMEOUT_MS: u64 = 55000;

impl Config {
    fn from_weak(weak: &WeakConfig) -> Option<Self> {