[Twisted-Python] twisted.enterprise.adbapi and connection pool problem
snacktime
snacktime at gmail.com
Mon Feb 14 14:16:51 MST 2005
Also, I *think* one of the reasons that adbapi doesn't have logic to
try and reconnect is that it might be difficult to detect under what
conditions you want to attempt a reconnect. The error messages for a
lost connection might be different from module to module. For example
a telling the difference between a timed out connection and the
database server just being down. With psycopg OperationalError gets
you pretty much everything that would mean you need to reconnect as
far as I can tell.
Chris
More information about the Twisted-Python
mailing list