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
|
@ -63,7 +63,7 @@ namespace PlexRequests.Services.Jobs
|
|||
{
|
||||
Log.Trace("Getting all shows from SickRage");
|
||||
var movies = SrApi.GetShows(settings.ApiKey, settings.FullUri);
|
||||
Cache.Set(CacheKeys.SickRageQueued, movies.Result);
|
||||
Cache.Set(CacheKeys.SickRageQueued, movies.Result, CacheKeys.TimeFrameMinutes.SchedulerCaching);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue