mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-11 17:45:38 +00:00
reduce cache ttl
This commit is contained in:
parent
1f64ee453a
commit
4c6aa39ccf
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ interface CacheEntry {
|
||||||
|
|
||||||
export class TrailerService {
|
export class TrailerService {
|
||||||
// Cache for 3 minutes — just enough to avoid re-extracting on quick re-renders
|
// Cache for 3 minutes — just enough to avoid re-extracting on quick re-renders
|
||||||
private static readonly CACHE_TTL_MS = 3 * 60 * 1000;
|
private static readonly CACHE_TTL_MS = 30 * 1000;
|
||||||
private static urlCache = new Map<string, CacheEntry>();
|
private static urlCache = new Map<string, CacheEntry>();
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue