Moved some cleanup tasks within another task to ensure everything is processed at the same time.
This commit is contained in:
parent
723fde6850
commit
d2c3bd7f1c
2 changed files with 2 additions and 12 deletions
|
|
@ -92,6 +92,8 @@ public class CleanupService : ICleanupService
|
|||
await CleanupLogs();
|
||||
await SendProgress(0.9F, "Cleaning progress events that exceed 100%");
|
||||
await EnsureChapterProgressIsCapped();
|
||||
await SendProgress(0.95F, "Cleaning abandoned database rows");
|
||||
await CleanupDbEntries();
|
||||
await SendProgress(1F, "Cleanup finished");
|
||||
_logger.LogInformation("Cleanup finished");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue