SQLite Hangfire (#1488)

* Update to use SQLIte for Hangfire to retain information on tasks

* Updated all external links to have noopener noreferrer

* When watching folders, ensure the folders exist before creating watchers.

* Tweaked the messaging for Email Service and added link to the project.
This commit is contained in:
Joseph Milazzo 2022-08-28 16:51:45 -05:00 committed by GitHub
parent f0c516ab62
commit 2d834dfc58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 24 additions and 21 deletions

View file

@ -17,6 +17,7 @@ using API.Services.Tasks;
using API.SignalR;
using Hangfire;
using Hangfire.MemoryStorage;
using Hangfire.Storage.SQLite;
using Kavita.Common;
using Kavita.Common.EnvironmentInfo;
using Microsoft.AspNetCore.Builder;
@ -155,7 +156,7 @@ namespace API
services.AddHangfire(configuration => configuration
.UseSimpleAssemblyNameTypeSerializer()
.UseRecommendedSerializerSettings()
.UseMemoryStorage());
.UseSQLiteStorage());
// Add the processing server as IHostedService
services.AddHangfireServer(options =>