durusmail: quixote-users: Re: Reusing connections quixote 2
Re: Reusing connections quixote 2
2006-11-07
2006-11-07
2006-11-07
2006-11-07
2006-11-07
2006-11-07
2006-11-08
2007-02-01
2007-02-01
2007-02-01
2006-11-08
2006-11-08
2006-11-08
2006-11-08
2006-11-09
2006-11-08
Re: Reusing connections quixote 2
Arturo FM
2006-11-07
>The smart reconnect modules also have connection pooling.  It will
>leave unused connections open and hand them back to the next routine
>that asks for one.  SQLAlchemy has this and there's also a standalone
>module I'm planning to try, although I can't find the link to it now.
>SQLObject has the same feature but I'm not sure if you can use it
>alone (without SQLObject's OO features).
OK! I will find this module of SQLAlchemy. I think that I could write a class
with methods for check if the connection is "alive". If the exception is thrown
then try to reconnect.

Thanks a lot!

Regards,
Arturo.







______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
reply