aiopg
aiopg copied to clipboard
SAConnection.execute does not support timeout
Cursor.execute supports timeout argument, but SAConnection.execute does not.
GitMate.io thinks possibly related issues are https://github.com/aio-libs/aiopg/issues/349 (add execute_values support), https://github.com/aio-libs/aiopg/issues/105 (Why is only ISOLATION_LEVEL_READ_COMMITTED supported?), https://github.com/aio-libs/aiopg/issues/380 (set timeout on SAConnection), https://github.com/aio-libs/aiopg/issues/58 (PostgreSQL notification support), and https://github.com/aio-libs/aiopg/issues/126 (Acquired connections does not return to pool?).
@tzoiker hi. timeout for sa is transmitted in pool or engine
async with create_engine(dsn, timeout=10): pass