[skip ci] increase visitor data duration

This commit is contained in:
Brahim Hadriche committed 2025-06-17 16:26:19 -04:00
1 parent 3ca87dc1d4
commit 03bb5ef3d5
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -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
@@ -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()