open-consul/.changelog/14521.txt
Chris S. Kim 331c756471
Reuse http.DefaultTransport in UIMetricsProxy (#14521)
http.Transport keeps a pool of connections and should be reused when possible. We instantiate a new http.DefaultTransport for every metrics request, making large numbers of concurrent requests inefficiently spin up new connections instead of reusing open ones.
2022-09-08 11:02:05 -04:00

4 lines
101 B
Plaintext

```release-note:improvement
ui: Reuse connections for requests to /v1/internal/ui/metrics-proxy/
```