mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -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
|
@ -40,10 +40,9 @@ namespace NzbDrone.Core.Jobs
|
|||
get { return "Banner Download"; }
|
||||
}
|
||||
|
||||
public int DefaultInterval
|
||||
public TimeSpan DefaultInterval
|
||||
{
|
||||
//30 days
|
||||
get { return 43200; }
|
||||
get { return TimeSpan.FromDays(30); }
|
||||
}
|
||||
|
||||
public virtual void Start(ProgressNotification notification, int targetId, int secondaryTargetId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue