mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53: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 movies from CouchPotato");
|
||||
var movies = CpApi.GetMovies(settings.FullUri, settings.ApiKey, new[] { "active" });
|
||||
Cache.Set(CacheKeys.CouchPotatoQueued, movies, 10);
|
||||
Cache.Set(CacheKeys.CouchPotatoQueued, movies, CacheKeys.TimeFrameMinutes.SchedulerCaching);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue