In my experience "re-running the query" has not been sufficient.
All of the connections in the pool time out around the same time.
Using cp_reconnect just forces the "idle" connection (cursor) to be removed
from the pool before raising the generic "ConnectionLost":
def rollback(self):
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
As requested: a ticket! Woo.
http://twistedmatrix.com/trac/ticket/3926
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.6)
iEYEARECAAYFAkpnEFwACgkQT5v5zGkvKT7CrgCgq
On 07/22/2009 02:16 AM, Jean-Paul Calderone wrote:
>
> This will fix the problem in one very unlikely case, but leave it broken in
> the other somewhat more likely cases. The problem is that some *other*
> process may have been started on your system and given the PID from the
> pidfile. Your pro