retry many times decorator

andrea crotti andrea.crotti.0 at gmail.com
Fri Jun 29 04:53:43 EDT 2012


On the other hand now that I think again even supposing there is a
permanent error like MySql completely down, retrying continuosly
won't do any harm anyway because the machine will not be able to do
anything else anyway, when someone will fix MySql it would
restart again without human intervention.

So I think I could even just let it retry and use maybe a SMTPHanlder
for the logging errors, to make the notification of problems very
quick..



More information about the Python-list mailing list