Add etcd as a service discovery mechanism

This commit is contained in:
skiffer-git 2024-05-11 18:09:32 +08:00
parent 676320454a
commit 21999fc546

View File

@ -216,7 +216,7 @@ func (ws *WsServer) sendUserOnlineInfoToOtherNode(ctx context.Context, client *C
log.ZDebug(ctx, "Filter out this node", "node", v.Target())
continue
}
log.ZDebug(ctx, "target ", v.Target())
wg.Go(func() error {
msgClient := msggateway.NewMsgGatewayClient(v)
_, err := msgClient.MultiTerminalLoginCheck(ctx, &msggateway.MultiTerminalLoginCheckReq{