diff --git a/playlet-lib/src/components/Services/Invidious/InvidiousService.bs b/playlet-lib/src/components/Services/Invidious/InvidiousService.bs index d4c89c46..415dbd7b 100644 --- a/playlet-lib/src/components/Services/Invidious/InvidiousService.bs +++ b/playlet-lib/src/components/Services/Invidious/InvidiousService.bs @@ -137,11 +137,9 @@ namespace Invidious end function function GetVideoMetadata(videoId as string, options = invalid as object) as object - ' 5 hours cache. Videos should expire in 6 hours, but since we don't - ' have the exact expiration time, we'll use 5 hours. Invidious currently - ' Does a fresh fetch if the cache is older than 10 minutes. + ' 10 minutes cache. ' https://github.com/iv-org/invidious/blob/069e91d2a609b1df94bdfbb693335969b2a281d8/src/invidious/videos.cr#L349 - cacheSeconds = OptionUtils.GetOrDefault(options, "cacheSeconds", 18000) ' 5 hours + cacheSeconds = OptionUtils.GetOrDefault(options, "cacheSeconds", 600) ' 10 minutes cancellation = OptionUtils.Get(options, "cancellation") tryCount = OptionUtils.GetOrDefault(options, "tryCount", 2)