mirror of
https://github.com/Caraxi/mare.client.git
synced 2026-01-03 12:03:39 +01:00
make storage size calculation asynchronous and running in parallel
This commit is contained in:
parent
01e36f64ff
commit
549a93654a
11 changed files with 110 additions and 37 deletions
|
|
@ -54,7 +54,7 @@ public sealed class MareMediator : IHostedService
|
|||
|
||||
public Task StartAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
_logger.LogTrace("Starting MareMediator");
|
||||
_logger.LogInformation("Starting MareMediator");
|
||||
|
||||
_ = Task.Run(async () =>
|
||||
{
|
||||
|
|
@ -73,7 +73,7 @@ public sealed class MareMediator : IHostedService
|
|||
}
|
||||
});
|
||||
|
||||
_logger.LogTrace("Started MareMediator");
|
||||
_logger.LogInformation("Started MareMediator");
|
||||
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue