fix: reduce stream cache time from 15 minutes to 10 minutes

This commit is contained in:
Viren070
2025-01-26 23:38:59 +00:00
parent 3b31849d14
commit c571e0f27d
+1 -1
View File
@@ -156,7 +156,7 @@ export class BaseWrapper {
if (!results.streams) {
throw new Error('Failed to respond with streams');
}
cache.set(requestCacheKey, results.streams, 900); // cache for 15 minutes
cache.set(requestCacheKey, results.streams, 600); // cache for 10 minutes
return results.streams;
} catch (error: any) {
clearTimeout(timeout);