Fixed ProgressTask stalling

This commit is contained in:
Dominion
2023-04-01 14:45:59 -04:00
parent 9b9476f1b0
commit 0e2ef74651
@@ -752,6 +752,8 @@ namespace Tgstation.Server.Host.Components.Deployment
}
while (DateTimeOffset.UtcNow < nextInterval);
}
else
await Task.Delay(minimumSleepInterval, cancellationToken);
progressReporter.StageName = currentStage;
lastReport = estimatedDuration.HasValue ? sleepInterval * (iteration + 1) / estimatedDuration.Value : null;