Re: [sqlalchemy] invalidating Connection objects using DBAPI connections

2016-10-20 Thread Mike Bayer
On 10/19/2016 05:49 PM, Dave Vitek wrote: Hi all, I'm using sqlalchemy 0.9.7 (yes, I know we need to upgrade). I've recently started to employ psycopg2's psycopg2.extensions.set_wait_callback function to facilitate terminating ongoing queries in response to activity on other sockets (such as

[sqlalchemy] invalidating Connection objects using DBAPI connections

2016-10-19 Thread Dave Vitek
Hi all, I'm using sqlalchemy 0.9.7 (yes, I know we need to upgrade). I've recently started to employ psycopg2's psycopg2.extensions.set_wait_callback function to facilitate terminating ongoing queries in response to activity on other sockets (such as an HTTP client disconnect or shutdown