Updated the episode cacher to have a minimum of 11 hours before it runs again.

This commit is contained in:
tidusjar 2016-08-10 12:28:39 +01:00
commit f8457d1db2
2 changed files with 2 additions and 1 deletions

View file

@ -148,7 +148,7 @@ namespace PlexRequests.Services.Jobs
var job = jobs.FirstOrDefault(x => x.Name.Equals(JobNames.EpisodeCacher, StringComparison.CurrentCultureIgnoreCase));
if (job != null)
{
if (job.LastRun > DateTime.Now.AddHours(-1)) // If it's been run in the last hour
if (job.LastRun > DateTime.Now.AddHours(-11)) // If it's been run in the last 11 hours
{
return;
}