From 106f29cfb98846b6c64dffed6c7048e83aa995ef Mon Sep 17 00:00:00 2001 From: LinlyBoi Date: Fri, 12 Sep 2025 10:03:15 +0300 Subject: [PATCH] feat: increase token expiration time because my isp is BUNS BRO --- src/youtube.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/youtube.rs b/src/youtube.rs index 4dcfecb..a31d84c 100644 --- a/src/youtube.rs +++ b/src/youtube.rs @@ -177,7 +177,7 @@ impl YouTubeUploader { .ok_or("No access token in response")? .to_string(); - let expires_in = token_data["expires_in"].as_u64().unwrap_or(3600); + let expires_in = token_data["expires_in"].as_u64().unwrap_or(10800); let expires_at = Some(Utc::now() + Duration::seconds(expires_in as i64)); Ok(StoredTokens {