jayvdb added a comment.

  The `-step` parameter is very useful!! :-( I have used it especially when the 
bot prefetches content and I was not on a good internet connection.  I had the 
unfortunate need to use this often when living in a level 40 apartment in 
Jakarta when the **only** internet service available was mobile phone.  The 
step needed to be dropped down to 10 sometimes, otherwise I'd get exceptions 
without a few minutes.
  
  If the account has `apihighlimits` rights, e.g. bot or sysop, `api.py` 
attempts to load 500 pages.  Bulk loading 500 pages at a time with content can 
be too much for a connection to handle, and any attempts to retry are likely to 
fail also, **and** cost a lot of money.
  
  An alternative would be to have a global config variable that sets the step 
size, so that only `api.py` needs to implement this sanity check as part of its 
algorithm to determine the speed at which data is fetched.

TASK DETAIL
  https://phabricator.wikimedia.org/T109208

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt, jayvdb
Cc: gerritbot, StudiesWorld, Ladsgroup, jayvdb, XZise, valhallasw, Aklapper, 
Xqt, pywikibot-bugs-list



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to