mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 13:55:55 +00:00
d641998641
This add a fix to properly verify the gateway mode before creating a watch specific to mesh gateways. This watch have a high performance cost and when mesh gateways are not used is not used. This also adds an optimization to only return the nodes when watching the Internal.ServiceDump RPC to avoid unnecessary disco chain compilation. As watches in proxy config only need the nodes.
8 lines
252 B
Plaintext
8 lines
252 B
Plaintext
```release-note:enhancement
|
|
ProxyCfg: avoid setting a watch on `Internal.ServiceDump` when mesh gateway is not used.
|
|
```
|
|
|
|
```release-note:enhancement
|
|
ProxyCfg: only return the nodes list when querying the `Internal.ServiceDump` watch from proxycfg
|
|
```
|