Up local data cache
This commit is contained in:
@@ -63,7 +63,7 @@ export class FocoLiveService {
|
||||
if (!events) {
|
||||
events = await this.getAllEvents();
|
||||
this.cacheMisses.inc();
|
||||
this.cacheManager.set(cacheKeys.allEvents, events, 5 * 60 * 1000);
|
||||
this.cacheManager.set(cacheKeys.allEvents, events, 10 * 60 * 1000);
|
||||
}
|
||||
this.eventCount.set(events.length);
|
||||
return events;
|
||||
|
Reference in New Issue
Block a user