mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -07:00
Switched out the schedulers, this seems to be a better implimentation to the previous and is easier to add new "jobs" in.
This commit is contained in:
parent
8388514931
commit
9c61f909de
32 changed files with 1237 additions and 1091 deletions
|
@ -52,6 +52,11 @@ using PlexRequests.Store.Repository;
|
|||
using PlexRequests.UI.Helpers;
|
||||
using Nancy.Json;
|
||||
|
||||
using PlexRequests.Services.Jobs;
|
||||
using PlexRequests.UI.Jobs;
|
||||
|
||||
using Quartz.Spi;
|
||||
|
||||
namespace PlexRequests.UI
|
||||
{
|
||||
public class Bootstrapper : DefaultNancyBootstrapper
|
||||
|
@ -90,8 +95,7 @@ namespace PlexRequests.UI
|
|||
container.Register<ICouchPotatoCacher, CouchPotatoCacher>();
|
||||
container.Register<ISonarrCacher, SonarrCacher>();
|
||||
container.Register<ISickRageCacher, SickRageCacher>();
|
||||
container.Register<IConfigurationReader, ConfigurationReader>();
|
||||
container.Register<IIntervals, UpdateInterval>();
|
||||
container.Register<IJobFactory, CustomJobFactory>();
|
||||
|
||||
// Api's
|
||||
container.Register<ICouchPotatoApi, CouchPotatoApi>();
|
||||
|
@ -105,7 +109,7 @@ namespace PlexRequests.UI
|
|||
|
||||
// NotificationService
|
||||
container.Register<INotificationService, NotificationService>().AsSingleton();
|
||||
|
||||
|
||||
JsonSettings.MaxJsonLength = int.MaxValue;
|
||||
|
||||
SubscribeAllObservers(container);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue