On Sun, 2006-03-12 at 17:17 -0800, Ian Charnas wrote: > Well, the timeout is part of mysql. I think most people are agreed > that the postgresql and mysql python modules should have an > "auto-reconnect" feature, which would solve this for all database > mappers and all situations. Patches have been submitted for this, but > apparently none has been accepted yet. In the meantime, most of us are > just using the TG Scheduler to do a "SELECT 1" from the database every > minute. It's not the ugliest hack I've ever had to do. > > http://trac.turbogears.org/turbogears/ticket/872 > http://trac.turbogears.org/turbogears/ticket/781 >
Ok, how frequently do I need to do it? I set up cron to wget a page every hour. Is that frequent enough? Remi's comment suggested hourly, but it's a VPS of my own so I can increase that if need be. Iain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

