From 3ee65f4f0c7ffc489df64ffa955f500fe7385e4f Mon Sep 17 00:00:00 2001 From: tidusjar Date: Thu, 29 Jun 2017 22:55:54 +0100 Subject: [PATCH] small changes #865 --- .../search/seriesinformation.component.html | 20 +++++++++++++++++-- src/Ombi/Startup.cs | 12 +++++------ 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/src/Ombi/ClientApp/app/search/seriesinformation.component.html b/src/Ombi/ClientApp/app/search/seriesinformation.component.html index ec635951d..45945a9ca 100644 --- a/src/Ombi/ClientApp/app/search/seriesinformation.component.html +++ b/src/Ombi/ClientApp/app/search/seriesinformation.component.html @@ -1,5 +1,21 @@ -
- + +
+
diff --git a/src/Ombi/Startup.cs b/src/Ombi/Startup.cs index e3de4a7da..45768cea0 100644 --- a/src/Ombi/Startup.cs +++ b/src/Ombi/Startup.cs @@ -119,22 +119,20 @@ namespace Ombi services.AddHangfire(x => { -#if DEBUG + x.UseMemoryStorage(new MemoryStorageOptions()); -#else - x.UseSQLiteStorage("Data Source=Ombi.db;"); -#endif + + //x.UseSQLiteStorage("Data Source=Ombi.db;"); + x.UseActivator(new IoCJobActivator(services.BuildServiceProvider())); }); #if DEBUG // Note .AddMiniProfiler() returns a IMiniProfilerBuilder for easy intellisense services.AddMiniProfiler(); - +#endif // Make sure you have memory cache available unless you're using another storage provider services.AddMemoryCache(); -#endif - } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.