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
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