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:
parent
8b0d8f0d54
commit
db6fdde7fb
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue