mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 19:32:17 +08:00 
			
		
		
		
	Add etcd as a service discovery mechanism
This commit is contained in:
		
							parent
							
								
									822252c487
								
							
						
					
					
						commit
						55b62063ba
					
				@ -212,11 +212,8 @@ func (ws *WsServer) sendUserOnlineInfoToOtherNode(ctx context.Context, client *C
 | 
			
		||||
	// Online push user online message to other node
 | 
			
		||||
	for _, v := range conns {
 | 
			
		||||
		log.ZDebug(ctx, " sendUserOnlineInfoToOtherNode conn ", "target", v.Target())
 | 
			
		||||
		//if v.Target() == ws.disCov.GetSelfConnTarget() {
 | 
			
		||||
		//	log.ZDebug(ctx, "Filter out this node", "node", v.Target())
 | 
			
		||||
		//	continue
 | 
			
		||||
		//}
 | 
			
		||||
		if true {
 | 
			
		||||
		if v.Target() == ws.disCov.GetSelfConnTarget() {
 | 
			
		||||
			log.ZDebug(ctx, "Filter out this node", "node", v.Target())
 | 
			
		||||
			continue
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user