mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Done #627
This commit is contained in:
parent
7fc26df599
commit
ea52fa3dc3
24 changed files with 419 additions and 32 deletions
|
@ -45,7 +45,7 @@ using Quartz;
|
|||
|
||||
namespace Ombi.Services.Jobs
|
||||
{
|
||||
public class FaultQueueHandler : IJob
|
||||
public class FaultQueueHandler : IJob, IFaultQueueHandler
|
||||
{
|
||||
private static readonly Logger Log = LogManager.GetCurrentClassLogger();
|
||||
|
||||
|
@ -91,9 +91,8 @@ namespace Ombi.Services.Jobs
|
|||
private ISettingsService<HeadphonesSettings> HeadphoneSettings { get; }
|
||||
private ISecurityExtensions Security { get; }
|
||||
|
||||
public void Execute(IJobExecutionContext context)
|
||||
public void Start()
|
||||
{
|
||||
|
||||
Record.SetRunning(true, JobNames.CpCacher);
|
||||
try
|
||||
{
|
||||
|
@ -116,6 +115,11 @@ namespace Ombi.Services.Jobs
|
|||
Record.SetRunning(false, JobNames.CpCacher);
|
||||
}
|
||||
}
|
||||
public void Execute(IJobExecutionContext context)
|
||||
{
|
||||
|
||||
Start();
|
||||
}
|
||||
|
||||
|
||||
private void ProcessMissingInformation(List<RequestQueue> requests)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue