From d4407ebbb7866132c8f35623240bc56125da0eba Mon Sep 17 00:00:00 2001 From: yly Date: Sun, 17 Aug 2025 01:57:14 +0800 Subject: [PATCH] Update default timeout to 3600s --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index fdddf2e..f2330ae 100644 --- a/src/config.rs +++ b/src/config.rs @@ -6,7 +6,7 @@ pub static SESSION_ACTIVE_TIME: Lazy = Lazy::new(|| { env::var("SESSION_ACTIVE_TIME") .ok() .and_then(|value| value.parse().ok()) - .unwrap_or(600) + .unwrap_or(3600) }); pub static COOKIE_DOMAIN: Lazy = Lazy::new(|| env::var("DOMAIN").ok().unwrap_or(".aaronhu.cn".to_owned()));