mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 17:22:54 -07:00
There is now a new Job in ombi that will clear out the Plex/Emby data and recache. This will prevent the issues going forward that we have when Ombi and the Media server fall out of sync with deletions/updates #2641 #2362 #1566
This commit is contained in:
parent
dcc28ff26e
commit
b375dd888b
18 changed files with 151 additions and 3 deletions
|
@ -65,7 +65,10 @@ namespace Ombi.Settings.Settings.Models
|
|||
{
|
||||
return Get(s.RetryRequests, Cron.Daily(6));
|
||||
}
|
||||
|
||||
public static string MediaDatabaseRefresh(JobSettings s)
|
||||
{
|
||||
return Get(s.MediaDatabaseRefresh, Cron.DayInterval(5));
|
||||
}
|
||||
private static string Get(string settings, string defaultCron)
|
||||
{
|
||||
return settings.HasValue() ? settings : defaultCron;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue