From 421e4f828ee105f1ff6ad954fd6686bcb606520a Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sun, 15 Oct 2023 15:51:50 -0400 Subject: [PATCH] Increase port bind test delay - Run for either engine on Windows --- .../Components/Session/SessionControllerFactory.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Tgstation.Server.Host/Components/Session/SessionControllerFactory.cs b/src/Tgstation.Server.Host/Components/Session/SessionControllerFactory.cs index 997e8b4e71..1e95d1a1f5 100644 --- a/src/Tgstation.Server.Host/Components/Session/SessionControllerFactory.cs +++ b/src/Tgstation.Server.Host/Components/Session/SessionControllerFactory.cs @@ -254,8 +254,9 @@ namespace Tgstation.Server.Host.Components.Session // mad this isn't abstracted but whatever if (dmbProvider.EngineVersion.Engine.Value == EngineType.Byond) await CheckPagerIsNotRunning(); - else if (dmbProvider.EngineVersion.Engine.Value == EngineType.OpenDream) - await asyncDelayer.Delay(TimeSpan.FromMilliseconds(1), cancellationToken); // OpenDream is 2fuckingfast and can trip after we bind tested the port + + if (platformIdentifier.IsWindows) + await asyncDelayer.Delay(TimeSpan.FromMilliseconds(500), cancellationToken); // Server can trip after we bind tested the port string outputFilePath = null; var preserveLogFile = true;