Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pool fixes and breaking changes #1901

Merged
merged 1 commit into from Jun 16, 2022
Merged

pool fixes and breaking changes #1901

merged 1 commit into from Jun 16, 2022

Commits on Jun 16, 2022

  1. refactor: pool fixes and breaking changes

    * Fixed leak of `Arc<SharedPool>` in `DecrementSizeGuard::cancel()`
    * Renamed `PoolOptions::connect_timeout` to `acquire_timeout` for clarity.
    * Fixed `/* SQLx ping */` showing up in Postgres query logs
    * Made `.close()` a regular function that returns a `Future`
    * Deleted deprecated method `PoolConnection::release()`
    * Document why connection might be dropped if `Pool::acquire()` is cancelled
    * Added connection metadata to pool lifecycle callbacks
    * Improved guarantees for `min_connections`
    * Fixed `num_idle()` to not spin forever at high load
    * Improved documentation across the `pool` module
    abonander committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    a2ec7e1 View commit details
    Browse the repository at this point in the history