private void RedoRegisterEachService() { foreach (var item in _registeredInstanceCached) { var serviceName = NamingUtils.GetServiceName(item.Key); var groupName = NamingUtils.GetGroupName(item.Key); RedoRegisterEachInstance(serviceName, groupName, item.Value); } }
private void RedoRegisterEachService() { _logger?.LogInformation("Grpc re-connect, redo register services"); foreach (var item in _registeredInstanceCached) { var serviceName = NamingUtils.GetServiceName(item.Key); var groupName = NamingUtils.GetGroupName(item.Key); RedoRegisterEachInstance(serviceName, groupName, item.Value); } }