diff --git a/core/src/connection/pool.rs b/core/src/connection/pool.rs index 7f92422d..fcfee926 100644 --- a/core/src/connection/pool.rs +++ b/core/src/connection/pool.rs @@ -871,7 +871,7 @@ impl PoolLimits { { if let Some(limit) = limit { let current = current(); - if limit >= current { + if current >= limit { return Err(ConnectionLimit { limit, current }) } }