mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
69bd6df464
Calling /minio/prometheuses/metrics calls xlSets.StorageInfo() which creates a new storage REST client and closes it. However, currently, closing does nothing to the underlying opened http client. This commit introduces a closing behavior by calling CloseIdleConnections provided by http.Transport upon the initialization of this latter. |
||
---|---|---|
.. | ||
client.go |