mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
disabled job registration/timer.
This commit is contained in:
parent
ec58b8b595
commit
70756db707
2 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@ namespace NzbDrone.Core.Jobs
|
||||||
|
|
||||||
public void Handle(ApplicationStartedEvent message)
|
public void Handle(ApplicationStartedEvent message)
|
||||||
{
|
{
|
||||||
var currentJobs = All().ToList();
|
/* var currentJobs = All().ToList();
|
||||||
|
|
||||||
|
|
||||||
var timers = new[]
|
var timers = new[]
|
||||||
|
@ -72,7 +72,7 @@ namespace NzbDrone.Core.Jobs
|
||||||
currentDefinition.Interval = job.Interval;
|
currentDefinition.Interval = job.Interval;
|
||||||
|
|
||||||
Upsert(currentDefinition);
|
Upsert(currentDefinition);
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ namespace NzbDrone.Core.Jobs
|
||||||
{
|
{
|
||||||
_timer.Interval = 1000 * 30;
|
_timer.Interval = 1000 * 30;
|
||||||
_timer.Elapsed += (o, args) => ExecuteCommands();
|
_timer.Elapsed += (o, args) => ExecuteCommands();
|
||||||
_timer.Start();
|
//_timer.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ExecuteCommands()
|
private void ExecuteCommands()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue