github MagicStack/asyncpg v0.16.0
asyncpg v0.16.0

latest releases: v0.29.0, v0.28.0, v0.27.0...
5 years ago

Behavior Changes

Pool.close() now waits until all acquired connections are released.
Hence, the below code will now hang indefinitely:

conn = await pool.acquire()
await pool.close()

Asyncpg will log a warning if pool.close() takes over 60 seconds to
complete. It is advisable to use asyncio.wait_for() to set a timeout.

Improvements

Bug Fixes

Don't miss a new asyncpg release

NewReleases is sending notifications on new releases.