Bugs item #2992437, was opened at 2010-04-26 19:25 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2992437...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update.
Category: General
Group: None
Status: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: André Malafaya Baptista (malafaya)
Assigned to: xqt (xqt)
Summary: Very unrealistic estimation for putting pages on -async mode
Initial Comment: When using the -async switch, and when interwiki is finishing processing, I get an "Estimated time remaining" totally off what is predictable:
Updating page [[pt:Categoria:Verbo (Interlíngua)]] via API -->Waiting for 49 pages to be put. Estimated time remaining: 0:00:49<-- Sleeping for 9.3 seconds, 2010-04-26 18:14:55 Updating page [[en:Category:Interlingua verbs]] via API Updating page [[fr:Catégorie:Verbes en interlingua]] via API Sleeping for 8.9 seconds, 2010-04-26 18:15:29
As you can see from the above long, with a sleep time of about 9 seconds between pages, the 49 seconds estimate for 49 pages to be put is totally off. Curiously, the number of seconds in the estimation is *ALWAYS* the same as the number of pages to be put. Out of curiosity, the above process of putting those 49 pages took more than 10 minutes.
Pywikipedia [svn+ssh] wikimedia/svnroot/pywikipedia/trunk/pywikipedia (r8131, 20 10/04/26, 07:59:35) Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] config-settings: use_api = True use_api_login = True
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-27 10:42
Message: fixed in r8132
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2992437...
pywikipedia-bugs@lists.wikimedia.org