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:
Drewster727 2016-04-19 13:41:56 -05:00
commit 121465210d
6 changed files with 29 additions and 11 deletions

View file

@ -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);
}
}