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.
This commit is contained in:
Joe Milazzo 2023-05-05 16:16:38 -05:00 committed by GitHub
parent 8b0d8f0d54
commit db6fdde7fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -251,7 +251,7 @@ public class TaskScheduler : ITaskScheduler
BackgroundJob.Schedule(() => ScanLibraries(force), TimeSpan.FromHours(3)); BackgroundJob.Schedule(() => ScanLibraries(force), TimeSpan.FromHours(3));
return; return;
} }
_scannerService.ScanLibraries(force); BackgroundJob.Enqueue(() => _scannerService.ScanLibraries(force));
} }
public void ScanLibrary(int libraryId, bool force = false) public void ScanLibrary(int libraryId, bool force = false)

View File

@ -4,7 +4,7 @@
<TargetFramework>net7.0</TargetFramework> <TargetFramework>net7.0</TargetFramework>
<Company>kavitareader.com</Company> <Company>kavitareader.com</Company>
<Product>Kavita</Product> <Product>Kavita</Product>
<AssemblyVersion>0.7.1.46</AssemblyVersion> <AssemblyVersion>0.7.2.0</AssemblyVersion>
<NeutralLanguage>en</NeutralLanguage> <NeutralLanguage>en</NeutralLanguage>
<TieredPGO>true</TieredPGO> <TieredPGO>true</TieredPGO>
</PropertyGroup> </PropertyGroup>
@ -21,4 +21,4 @@
</ItemGroup> </ItemGroup>
</Project> </Project>