Add etcd as a service discovery mechanism

This commit is contained in:
skiffer-git 2024-05-11 18:26:47 +08:00
parent 4dc0c3d0d6
commit eccdaf74a8

View File

@ -216,8 +216,7 @@ func (ws *WsServer) sendUserOnlineInfoToOtherNode(ctx context.Context, client *C
log.ZDebug(ctx, "Filter out this node", "node", v.Target())
continue
}
fmt.Printf("Connection target: %s\n", v.Target())
log.ZDebug(ctx, "target ", v.Target())
log.ZDebug(ctx, "conn ", "target", v.Target())
wg.Go(func() error {
msgClient := msggateway.NewMsgGatewayClient(v)