mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 05:43:19 -07:00
fix the cacher by adding locking + extra logging in the plex checker + use a const key for scheduler caching time
This commit is contained in:
parent
9c61f909de
commit
121465210d
6 changed files with 29 additions and 11 deletions
|
@ -64,7 +64,7 @@ namespace PlexRequests.Services.Jobs
|
|||
{
|
||||
Log.Trace("Getting all tv series from Sonarr");
|
||||
var series = SonarrApi.GetSeries(settings.ApiKey, settings.FullUri);
|
||||
Cache.Set(CacheKeys.SonarrQueued, series, 10);
|
||||
Cache.Set(CacheKeys.SonarrQueued, series, CacheKeys.TimeFrameMinutes.SchedulerCaching);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue