[Twisted-Python] OT - adbapi, connection timeouts, mysql - OT

Gabriel Rossetti gabriel.rossetti at arimaz.com
Mon Jul 20 07:52:06 EDT 2009

Hello everyone,

I have been experiencing the ConnectionError with adbapi & 
cp_reconnect=True. I know that because of the cp_reconnect=True param 
tha is reconnects and that the query is not re-run. I have written some 
code that should re-run the query in that case (if I get a Failure back 
because of a ConnectionError), but it doesn't seem to work. My question 
is if anyone knows how to make mysql's idle timeouts shorter so that I 
can debug my code? I searched google and the mysql site with no luck.

thank you,

More information about the Twisted-Python mailing list