On Dec 17, 2008, at 10:10 AM, Ken wrote:
> > Actually, I found that the error goes away if I don't set > pool_recycle=True. However, I'm told pool_recycle is necessary to > prevent "MySQL has gone away" errors. yes but pool_recycle is documented as a number of seconds, and a typical value is 3600 for one hour. setting it to True means it will recycle the connection every second. Technically, that shouldn't cause any "broken" behavior either, but that seems to be the source here. --~--~---------~--~----~------------~-------~--~----~ 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 sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---