Jobs now use Timespan rather than integer to represent minutes.

This commit is contained in:
kay.one 2012-01-14 18:47:23 -08:00
commit e358ad6d87
24 changed files with 60 additions and 55 deletions

View file

@ -44,12 +44,12 @@ namespace NzbDrone.Core.Jobs
get { return "New Series Update"; }
}
public int DefaultInterval
public TimeSpan DefaultInterval
{
get { return 1; }
get { return TimeSpan.FromMinutes(1); }
}
public void Start(ProgressNotification notification, int targetId, int secondaryTargetId )
public void Start(ProgressNotification notification, int targetId, int secondaryTargetId)
{
_attemptedSeries = new List<int>();
ScanSeries(notification);