Add etcd as a service discovery mechanism

pull/2318/head
skiffer-git 8 months ago
parent 9e7c676c44
commit 2d15c40fbf

@ -267,6 +267,8 @@ func (ws *WsServer) registerClient(client *Client) {
}
wg := sync.WaitGroup{}
log.ZDebug(client.ctx, "ws.msgGatewayConfig.Discovery.Enable", ws.msgGatewayConfig.Discovery.Enable)
if ws.msgGatewayConfig.Discovery.Enable != "k8s" {
wg.Add(1)
go func() {

Loading…
Cancel
Save