mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-29 11:05:44 +00:00
Register new job properly
This commit is contained in:
parent
b7408b726a
commit
cd25b86e5e
1 changed files with 1 additions and 0 deletions
|
@ -140,6 +140,7 @@ private void InitJobs()
|
||||||
Kernel.Bind<IJob>().To<TrimLogsJob>().InSingletonScope();
|
Kernel.Bind<IJob>().To<TrimLogsJob>().InSingletonScope();
|
||||||
Kernel.Bind<IJob>().To<RecentBacklogSearchJob>().InSingletonScope();
|
Kernel.Bind<IJob>().To<RecentBacklogSearchJob>().InSingletonScope();
|
||||||
Kernel.Bind<IJob>().To<CheckpointJob>().InSingletonScope();
|
Kernel.Bind<IJob>().To<CheckpointJob>().InSingletonScope();
|
||||||
|
Kernel.Bind<IJob>().To<SearchHistoryCleanupJob>().InSingletonScope();
|
||||||
|
|
||||||
Kernel.Get<JobProvider>().Initialize();
|
Kernel.Get<JobProvider>().Initialize();
|
||||||
Kernel.Get<WebTimer>().StartTimer(30);
|
Kernel.Get<WebTimer>().StartTimer(30);
|
||||||
|
|
Loading…
Reference in a new issue