mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
Updated the episode cacher to have a minimum of 11 hours before it runs again.
This commit is contained in:
parent
5e090b04b1
commit
f8457d1db2
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue