diff --git a/CHANGELOG.md b/CHANGELOG.md index e243a1cf..1a434e50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Issue with deep linking not working due to session data race condition +### Changed + +- Session data duration: increased to 14 days, to avoid Innertube errors + ## [0.40.4] - 2025-06-17 ### Fixed diff --git a/playlet-lib/src/components/Services/Innertube/SessionData.bs b/playlet-lib/src/components/Services/Innertube/SessionData.bs index e8d49d7e..ddfdebee 100644 --- a/playlet-lib/src/components/Services/Innertube/SessionData.bs +++ b/playlet-lib/src/components/Services/Innertube/SessionData.bs @@ -9,7 +9,7 @@ import "pkg:/source/utils/TimeUtils.bs" namespace Innertube const SESSION_DATA_VERSION = 1 - const INNERTUBE_VISITOR_DATA_LIFESPAN_SECONDS = 60 * 60 * 24 * 7 ' 7 days + const INNERTUBE_VISITOR_DATA_LIFESPAN_SECONDS = 60 * 60 * 24 * 14 ' 14 days function GetSessionData() as object sessionData = ReadSessionDataFromRegistry()