refactor: hlint

This commit is contained in:
Gregor Kleen 2021-03-01 13:12:30 +01:00
parent e9fc753a31
commit 6d93e3e8bc

View File

@ -390,7 +390,7 @@ poolMetrics lbl pool = Metric $ return (PoolMetrics, collectPoolMetrics)
{-# NOINLINE databaseConnDuration #-}
databaseConnDuration :: Vector Label1 Histogram
databaseConnDuration = unsafeRegister . vector ("label") $ histogram info buckets
databaseConnDuration = unsafeRegister . vector "label" $ histogram info buckets
where
info = Info "uni2work_database_conn_duration_seconds"
"Duration of use of a database connection from the pool"