1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-12-05 23:28:10 +02:00

Add prometheus metrics for buffers

This commit is contained in:
DarthSim
2019-01-28 22:18:54 +06:00
parent 69549b878a
commit e566aedcc3
5 changed files with 37 additions and 5 deletions

View File

@@ -80,7 +80,7 @@ func initDownloading() {
Transport: transport,
}
downloadBufPool = newBufPool(conf.Concurrency, conf.DownloadBufferSize)
downloadBufPool = newBufPool("download", conf.Concurrency, conf.DownloadBufferSize)
}
func checkDimensions(width, height int) error {