示例#1
0
 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);
     }
 }
示例#2
0
        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);
            }
        }