mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 11:22:10 +08:00 
			
		
		
		
	Add etcd as a service discovery mechanism
This commit is contained in:
		
							parent
							
								
									a4b77f9472
								
							
						
					
					
						commit
						f8ff72cf61
					
				@ -87,6 +87,7 @@ func (d *DefaultAllNode) GetConnsAndOnlinePush(ctx context.Context, msg *sdkws.M
 | 
			
		||||
	// Online push message
 | 
			
		||||
	for _, conn := range conns {
 | 
			
		||||
		conn := conn // loop var safe
 | 
			
		||||
		ctx := ctx
 | 
			
		||||
		wg.Go(func() error {
 | 
			
		||||
			msgClient := msggateway.NewMsgGatewayClient(conn)
 | 
			
		||||
			reply, err := msgClient.SuperGroupOnlineBatchPushOneMsg(ctx, input)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user