After putting more logging on it seems that `with transaction.manager` contexts are committing and returning the connection to the connection pool as I'd hoped.
However, I began looking into this more because I got a "MySQL server has gone away" error despite having "sqlalchemy.pool_recycle = 14400" set (which I believe is 4hrs and the default is 8hrs on mysql to expire a connection). I read some posts saying I needed to `session.close()` to release the session, but it seems ilke the connections are being returned to the pool. How can I avoid those errors? -- 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 http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.