JJohn Nagle wrote:
>I have some long-running Python programs that can be idle
> for hours, and, of course, the MySQL connection times out.
> So I call
>
> db.ping()
>
> at the beginning of a new request cycle. This should
> reestablish the connection, but it doesn't.
...
> I suspe
I have some long-running Python programs that can be idle
for hours, and, of course, the MySQL connection times out.
So I call
db.ping()
at the beginning of a new request cycle. This should
reestablish the connection, but it doesn't:
Traceback (most recent call last):
File "ra