Yes, the problem was the call to engine.dispose()

Thanks!

On Wednesday, September 28, 2016 at 5:11:59 PM UTC-4, Mike Bayer wrote:
>
>
>
> it would appear that either the ThreadExecutorPool is starting more 
> threads than your Postgresql database has available connections, or your 
> engine.dispose() is leaving PG connections lying open to be garbage 
> collected.   A single Engine should be all that's necessary in a single 
> process. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to