http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11521
Revision: 11521 Author: russblau Date: 2013-05-09 23:39:44 +0000 (Thu, 09 May 2013) Log Message: ----------- Should have committed this with 11520.
Modified Paths: -------------- branches/rewrite/pywikibot/config2.py
Modified: branches/rewrite/pywikibot/config2.py =================================================================== --- branches/rewrite/pywikibot/config2.py 2013-05-09 19:24:17 UTC (rev 11520) +++ branches/rewrite/pywikibot/config2.py 2013-05-09 23:39:44 UTC (rev 11521) @@ -372,6 +372,11 @@ # running solve_disambiguation.py with the -primary argument. special_page_limit = 500
+# Maximum number of times to retry an API request before quitting. +max_retries = 25 +# Minimum time to wait before resubmitting a failed API request. +retry_wait = 5 + ############## TABLE CONVERSION BOT SETTINGS ##############
# will split long paragraphs for better reading the source.
pywikipedia-svn@lists.wikimedia.org