Re: [sqlalchemy] SQLAlchemy keeps dropping sessions

2018-06-03 Thread Jonathan Vanasco
On Sunday, June 3, 2018 at 10:48:12 PM UTC-4, Mike Bayer wrote: it seems like your source of connectivity has an idle connection > timeout going on. What version of Postgresql is this, or is this > redshift? are you using a proxy like pgbouncer or haproxy? > Adding a few other things to

Re: [sqlalchemy] SQLAlchemy keeps dropping sessions

2018-06-03 Thread Mike Bayer
On Sun, Jun 3, 2018 at 10:17 PM, rvd wrote: > Hi all, > > I am writing a Flask API that needs to communicate with many datastores, > Postgres on AWS RDS being one of them. I want to avoid Flask-SQLAlchemy > (trying to reduce package dependence); I think the standard SQLAlchemy > library should

[sqlalchemy] SQLAlchemy keeps dropping sessions

2018-06-03 Thread rvd
Hi all, I am writing a Flask API that needs to communicate with many datastores, Postgres on AWS RDS being one of them. I want to avoid Flask-SQLAlchemy (trying to reduce package dependence); I think the standard SQLAlchemy library should suffice. I have described the issue thoroughly here