[skip ci] small fixes

This commit is contained in:
Brahim Hadriche committed 2026-08-02 09:42:41 -04:00
1 parent 7286c099a0
commit 48b10e8618
2 files changed
+6 -3

No files matched your search

@@ -17,6 +17,9 @@ namespace Innertube
if sessionData = invalid or not IsInt(sessionData.timestamp)
return false
end if
if StringUtils.IsNullOrEmpty(sessionData.visitorData)
return false
end if
nowSeconds = TimeUtils.Now().AsSeconds()
return nowSeconds - sessionData.timestamp <= INNERTUBE_VISITOR_DATA_LIFESPAN_SECONDS
end function
@@ -48,14 +48,14 @@ function TelemetryLoop() as void
m.dist = GetDist(m.tags)
m.userId = GetUserId()
ReportSessionStart()
ReportLastExitCrash()
m.top.observeField("LogInfo", msgPort)
m.top.observeField("LogWarn", msgPort)
m.top.observeField("LogError", msgPort)
m.top.observeField("LogEvent", msgPort)
ReportSessionStart()
ReportLastExitCrash()
#if SUPPORTS_BATCHING
debouceMs = 2000
debounceCountLimit = 20