Update default timeout to 3600s
Some checks failed
Build and Upload Binary / build (x86_64-unknown-linux-musl-rust-auth, auth, x86, stable, x86_64-unknown-linux-musl) (push) Has been cancelled

This commit is contained in:
yly 2025-08-17 01:57:14 +08:00
parent 1831720b24
commit d4407ebbb7

View File

@ -6,7 +6,7 @@ pub static SESSION_ACTIVE_TIME: Lazy<u64> = 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<String> =
Lazy::new(|| env::var("DOMAIN").ok().unwrap_or(".aaronhu.cn".to_owned()));