pool_recycle is an integer number of seconds which to wait before
reopening a conneciton.  However, setting it to "True" is equivalent to
1 which means it will reopen connections constantly.

check out the FAQ entry on this:

http://www.sqlalchemy.org/trac/wiki/FAQ#MySQLserverhasgoneaway/psycopg.InterfaceError:connectionalreadyclosed

note that the recycle only occurs on the connect() operation.

also turn on "echo_pool=True" so that you can see the connections being
recycled in the standard output


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sqlalchemy
-~----------~----~----~----~------~----~------~--~---

Reply via email to