2
0
mirror of https://github.com/status-im/consul.git synced 2025-02-19 00:56:45 +00:00
Chris S. Kim 03df6c3ac6
Reuse http.DefaultTransport in UIMetricsProxy ()
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/
```