This commit is contained in:
Mateleo 2024-11-22 15:55:42 +01:00
parent d9047392e2
commit d39c2f352c
2 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,7 @@ namespace DiIiS_NA.GameServer.GSSystem.GameSystem
private bool SenderServerConnected()
{
Logger.Info("GameServer connected to BattleNet.");
System.Threading.Thread.Sleep(3000);
System.Threading.Thread.Sleep(1000);
string backEndIp = GameServerConfig.Instance.BindIP;
int backEndPort = GameServerConfig.Instance.Port;
bool pvp = false;

View File

@ -301,6 +301,7 @@ namespace DiIiS_NA
}
finally
{
Logger.Trace("Shutdown in progress !");
await Task.WhenAll(
boss.ShutdownGracefullyAsync(TimeSpan.FromMilliseconds(100), TimeSpan.FromSeconds(1)),
worker.ShutdownGracefullyAsync(TimeSpan.FromMilliseconds(100), TimeSpan.FromSeconds(1)));