wikiteam
wikiteam copied to clipboard
Automatically resume and slow down on timeouts
From [email protected] on November 05, 2013 20:35:07
wiki-site.com has some nasty configuration for which it stops responding, or sends error 403, if you do too many requests. I've tried 60, now 90 seconds delay and will probably find one which works with them in end, but it would be nice to have a better handling of this error than the current one:
Traceback (most recent call last):
File "dumpgenerator.py", line 1195, in
Original issue: http://code.google.com/p/wikiteam/issues/detail?id=70
From [email protected] on November 05, 2013 11:42:53
Labels: -Type-Defect -Priority-Medium Type-Enhancement Priority-Low
From [email protected] on November 08, 2013 14:40:39
Well, and maybe also urllib2.HTTPError: HTTP Error 503: Service Temporarily Unavailable which I get sometimes from them too.
This should be largely fixed with https://github.com/WikiTeam/wikiteam/commit/142b48cc6926a0ed4b3e0a97a1040932d0ec7c87 but we'll see how well requests does.