Fixed the notifications issue

This commit is contained in:
tidusjar 2019-11-10 14:56:12 +00:00
parent 96e3e88261
commit 181bd53202
22 changed files with 210 additions and 177 deletions

View file

@ -181,7 +181,8 @@ namespace Ombi.DependencyInjection
public static void RegisterJobs(this IServiceCollection services)
{
services.AddSingleton<IJobFactory, IoCJobFactory>(provider => new IoCJobFactory(provider));
services.AddSingleton<QuartzJobRunner>();
services.AddSingleton<IJobFactory, IoCJobFactory>();
services.AddTransient<IBackgroundJobClient, BackgroundJobClient>();
services.AddTransient<IPlexContentSync, PlexContentSync>();