mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-11-08 17:33:07 +00:00
On `PoolOptions::connect()`, we open at least `min_connections` connections, or 1 if unset. Therefore, the expression needs to be `max()`. (`min(1, x)` would mean we always open only a single connection).