mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix: reduce stream cache time from 15 minutes to 10 minutes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user