Added lidarr to the cache file

pull/3800/merge^2
Anatole Sot 4 months ago
parent 9b83161a2f
commit 1de4068571

@ -2,13 +2,15 @@ import NodeCache from 'node-cache';
export type AvailableCacheIds =
| 'tmdb'
| 'musicbrainz'
| 'radarr'
| 'sonarr'
| 'rt'
| 'imdb'
| 'github'
| 'plexguid'
| 'plextv';
| 'plextv'
| 'lidarr';
const DEFAULT_TTL = 300;
const DEFAULT_CHECK_PERIOD = 120;
@ -46,8 +48,13 @@ class CacheManager {
stdTtl: 21600,
checkPeriod: 60 * 30,
}),
musicbrainz: new Cache('musicbrainz', 'MusicBrainz API', {
stdTtl: 21600,
checkPeriod: 60 * 30,
}),
radarr: new Cache('radarr', 'Radarr API'),
sonarr: new Cache('sonarr', 'Sonarr API'),
lidarr: new Cache('lidarr', 'Lidarr API'),
rt: new Cache('rt', 'Rotten Tomatoes API', {
stdTtl: 43200,
checkPeriod: 60 * 30,

Loading…
Cancel
Save