From: Elver L. <elv...@gm...> - 2006-06-19 22:58:31
|
On 6/19/06, Oleg Broytmann <ph...@ph...> wrote: > On Sat, Jun 17, 2006 at 08:36:03PM +0300, Elver Loho wrote: > > How can I check if the connection in the current thread has idled to > > death or not and re-establish it? Can SQLObject do this automatically > > somehow? > > Only for those backends that handle timeouts. SQLite, e.g. So what is the popular solution? Or should I open and close the connection manually every time I need something from the DB? We're using MySQL at the moment for development and production alike, but that might change to Postgre later. Elver |