Skip to content

asyncpg v0.16.0

Compare
Choose a tag to compare
@elprans elprans released this 06 Jun 00:53
· 288 commits to master since this release
v0.16.0
8d6abc1

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