From db6fdde7fb97864f4a20d006760dd7b8b31a8eaf Mon Sep 17 00:00:00 2001 From: Joe Milazzo Date: Fri, 5 May 2023 16:16:38 -0500 Subject: [PATCH] v0.7.2 - Reading Lists, CBL Support, OPDS Flattening and More! (#1953) * Version bump * Fixed scan all libraries not doing it on background thread from request. --- API/Services/TaskScheduler.cs | 2 +- Kavita.Common/Kavita.Common.csproj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/API/Services/TaskScheduler.cs b/API/Services/TaskScheduler.cs index 335370c98..4a3bfad93 100644 --- a/API/Services/TaskScheduler.cs +++ b/API/Services/TaskScheduler.cs @@ -251,7 +251,7 @@ public class TaskScheduler : ITaskScheduler BackgroundJob.Schedule(() => ScanLibraries(force), TimeSpan.FromHours(3)); return; } - _scannerService.ScanLibraries(force); + BackgroundJob.Enqueue(() => _scannerService.ScanLibraries(force)); } public void ScanLibrary(int libraryId, bool force = false) diff --git a/Kavita.Common/Kavita.Common.csproj b/Kavita.Common/Kavita.Common.csproj index a27c27831..b41be132a 100644 --- a/Kavita.Common/Kavita.Common.csproj +++ b/Kavita.Common/Kavita.Common.csproj @@ -4,7 +4,7 @@ net7.0 kavitareader.com Kavita - 0.7.1.46 + 0.7.2.0 en true @@ -21,4 +21,4 @@ - \ No newline at end of file +