mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-06 16:55:49 +00:00
disabled job registration/timer.
This commit is contained in:
@@ -39,7 +39,7 @@ namespace NzbDrone.Core.Jobs
|
||||
|
||||
public void Handle(ApplicationStartedEvent message)
|
||||
{
|
||||
var currentJobs = All().ToList();
|
||||
/* var currentJobs = All().ToList();
|
||||
|
||||
|
||||
var timers = new[]
|
||||
@@ -72,7 +72,7 @@ namespace NzbDrone.Core.Jobs
|
||||
currentDefinition.Interval = job.Interval;
|
||||
|
||||
Upsert(currentDefinition);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace NzbDrone.Core.Jobs
|
||||
{
|
||||
_timer.Interval = 1000 * 30;
|
||||
_timer.Elapsed += (o, args) => ExecuteCommands();
|
||||
_timer.Start();
|
||||
//_timer.Start();
|
||||
}
|
||||
|
||||
private void ExecuteCommands()
|
||||
|
||||
Reference in New Issue
Block a user