Attempted fix for concurrent shard startup

This commit is contained in:
Ske 2021-09-07 02:17:41 +02:00
parent 95e0fcc36d
commit 6dfc937257

View File

@ -116,8 +116,8 @@ namespace Myriad.Gateway
_worker = ShardLoop();
// we can probably TCS this instead of spin loop but w/e
while (State != ShardState.Identifying)
await Task.Delay(100);
while (State < ShardState.Identifying)
await Task.Delay(50);
}
public async Task UpdateStatus(GatewayStatusUpdate payload)