Increase port bind test delay

- Run for either engine on Windows
This commit is contained in:
Jordan Dominion
2023-10-15 15:51:50 -04:00
parent 46a6dfecd7
commit 421e4f828e
@@ -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;