Improved the way we sync the plex content and then get the metadata. #2243

This commit is contained in:
Jamie Rees 2018-05-17 12:05:06 +01:00
parent 3ca72c7e63
commit 83f871da86
7 changed files with 139 additions and 31 deletions

View file

@ -25,7 +25,7 @@ namespace Ombi.Settings.Settings.Models
}
public static string PlexRecentlyAdded(JobSettings s)
{
return Get(s.PlexRecentlyAddedSync, Cron.Hourly(0));
return Get(s.PlexRecentlyAddedSync, Cron.MinuteInterval(30));
}
public static string CouchPotato(JobSettings s)
{
@ -50,7 +50,7 @@ namespace Ombi.Settings.Settings.Models
}
public static string RefreshMetadata(JobSettings s)
{
return Get(s.RefreshMetadata, Cron.DayInterval(2));
return Get(s.RefreshMetadata, Cron.DayInterval(3));
}
private static string Get(string settings, string defaultCron)