mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
Add etcd as a service discovery mechanism
This commit is contained in:
parent
4dc0c3d0d6
commit
eccdaf74a8
@ -216,8 +216,7 @@ func (ws *WsServer) sendUserOnlineInfoToOtherNode(ctx context.Context, client *C
|
|||||||
log.ZDebug(ctx, "Filter out this node", "node", v.Target())
|
log.ZDebug(ctx, "Filter out this node", "node", v.Target())
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
fmt.Printf("Connection target: %s\n", v.Target())
|
log.ZDebug(ctx, "conn ", "target", v.Target())
|
||||||
log.ZDebug(ctx, "target ", v.Target())
|
|
||||||
|
|
||||||
wg.Go(func() error {
|
wg.Go(func() error {
|
||||||
msgClient := msggateway.NewMsgGatewayClient(v)
|
msgClient := msggateway.NewMsgGatewayClient(v)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user