diff --git a/src/Ombi.Helpers/Ombi.Helpers.csproj b/src/Ombi.Helpers/Ombi.Helpers.csproj index dc032f1dd..1c97dc067 100644 --- a/src/Ombi.Helpers/Ombi.Helpers.csproj +++ b/src/Ombi.Helpers/Ombi.Helpers.csproj @@ -6,7 +6,7 @@ - + diff --git a/src/Ombi/Ombi.csproj b/src/Ombi/Ombi.csproj index ae8743dc0..7530c5e53 100644 --- a/src/Ombi/Ombi.csproj +++ b/src/Ombi/Ombi.csproj @@ -24,6 +24,7 @@ + diff --git a/src/Ombi/Startup.cs b/src/Ombi/Startup.cs index 2385d9a0e..6b6407b10 100644 --- a/src/Ombi/Startup.cs +++ b/src/Ombi/Startup.cs @@ -5,6 +5,7 @@ using AutoMapper; using AutoMapper.EquivalencyExpression; using Hangfire; using Hangfire.MemoryStorage; +using Hangfire.SQLite; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; @@ -77,7 +78,8 @@ namespace Ombi services.AddHangfire(x => { - x.UseMemoryStorage(new MemoryStorageOptions()); + x.UseSQLiteStorage("Data Source=Ombi.db;"); + //x.UseMemoryStorage(new MemoryStorageOptions()); x.UseActivator(new IoCJobActivator(services.BuildServiceProvider())); });