mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: Schedule refresh and process monitored download tasks at high priority
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using NzbDrone.Core.Datastore;
|
||||
using NzbDrone.Core.Messaging.Commands;
|
||||
|
||||
namespace NzbDrone.Core.Jobs
|
||||
{
|
||||
@@ -9,5 +10,11 @@ namespace NzbDrone.Core.Jobs
|
||||
public int Interval { get; set; }
|
||||
public DateTime LastExecution { get; set; }
|
||||
public DateTime LastStartTime { get; set; }
|
||||
public CommandPriority Priority { get; set; }
|
||||
|
||||
public ScheduledTask()
|
||||
{
|
||||
Priority = CommandPriority.Low;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user