[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

Re: [sqlalchemy] Selective logging using the ORM for a single thread. Can't do it, therefore can't debug our app.

2016-10-19 Thread Jonathan Vanasco
On Tuesday, October 18, 2016 at 9:29:37 AM UTC-4, Mike Bayer wrote: This approach can also be made extremely performant by making sure you > load up that profile datafile just once, and cache it in memory in a > dictionary. > What's also nice about the decorator approach in the aspect, is