From 1743bcd605be40933129fa9b59c70c0494f8f9a0 Mon Sep 17 00:00:00 2001 From: TimeToogo Date: Tue, 15 Aug 2023 13:15:25 +1000 Subject: [PATCH] Increase connection timeout --- tunshell-server/src/relay/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tunshell-server/src/relay/config.rs b/tunshell-server/src/relay/config.rs index 8a55b10..db5f8ba 100644 --- a/tunshell-server/src/relay/config.rs +++ b/tunshell-server/src/relay/config.rs @@ -7,7 +7,7 @@ use std::{env, sync::Arc, time::Duration}; const DEFAULT_CLIENT_KEY_TIMEOUT_MS: u64 = 3000; const DEFAULT_CLEAN_EXPIRED_CONNECTION_INTERVAL_MS: u64 = 60_000; const DEFAULT_WAITING_CONNECTION_EXPIRY_MS: u64 = 3600_000; -const DEFAULT_CONNECTED_CONNECTION_EXPIRY_MS: u64 = 3600_000; +const DEFAULT_CONNECTED_CONNECTION_EXPIRY_MS: u64 = 36_000_000; #[derive(Clone)] pub struct Config {