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));
return;
}
_scannerService.ScanLibraries(force);
BackgroundJob.Enqueue(() => _scannerService.ScanLibraries(force));
}
public void ScanLibrary(int libraryId, bool force = false)