mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Jobs now use Timespan rather than integer to represent minutes.
This commit is contained in:
parent
624b6e5acb
commit
e358ad6d87
24 changed files with 60 additions and 55 deletions
|
@ -1,4 +1,5 @@
|
|||
using System.Linq;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using NLog;
|
||||
|
@ -39,9 +40,9 @@ namespace NzbDrone.Core.Jobs
|
|||
get { return "Update Application Job"; }
|
||||
}
|
||||
|
||||
public int DefaultInterval
|
||||
public TimeSpan DefaultInterval
|
||||
{
|
||||
get { return 10080; }
|
||||
get { return TimeSpan.FromDays(2); }
|
||||
}
|
||||
|
||||
public virtual void Start(ProgressNotification notification, int targetId, int secondaryTargetId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue