mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 17:22:54 -07:00
Improved the way we sync the plex content and then get the metadata. #2243
This commit is contained in:
parent
3ca72c7e63
commit
83f871da86
7 changed files with 139 additions and 31 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue