From 0e2ef74651a0641b16731ad8439e2c0bfc100431 Mon Sep 17 00:00:00 2001 From: Dominion Date: Sat, 1 Apr 2023 14:45:59 -0400 Subject: [PATCH] Fixed ProgressTask stalling --- src/Tgstation.Server.Host/Components/Deployment/DreamMaker.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Tgstation.Server.Host/Components/Deployment/DreamMaker.cs b/src/Tgstation.Server.Host/Components/Deployment/DreamMaker.cs index 1876bcc2a0..c92e1ed1c9 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/DreamMaker.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/DreamMaker.cs @@ -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;