diff --git a/MareSynchronosServer/MareSynchronosServer/Services/GrpcClientIdentificationService.cs b/MareSynchronosServer/MareSynchronosServer/Services/GrpcClientIdentificationService.cs index e49760e..ab1c1c2 100644 --- a/MareSynchronosServer/MareSynchronosServer/Services/GrpcClientIdentificationService.cs +++ b/MareSynchronosServer/MareSynchronosServer/Services/GrpcClientIdentificationService.cs @@ -133,6 +133,8 @@ public class GrpcClientIdentificationService : IHostedService { if (_grpcIsFaulty) { + _grpcIsFaulty = false; + _logger.LogInformation("GRPC connection is restored, sending current server idents"); await _grpcIdentClient.ClearIdentsForServerAsync(new ServerMessage() { ServerId = _shardName }).ConfigureAwait(false); var msg = new ServerIdentMessage(); @@ -143,7 +145,6 @@ public class GrpcClientIdentificationService : IHostedService ServerId = _shardName })); await _grpcIdentClient.RecreateServerIdentsAsync(msg).ConfigureAwait(false); - _grpcIsFaulty = false; } }