Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-Scripts, Performance Issue.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **Steps to replicate the issue**:
  
  run `pwb preload_sites -worker:25`
  
  **What happens?**:
  The script needs up to 2 minutes to be completed and collect all sites
  
  **What should have happened instead?**:
  The script should terminate within 20 seconds. The reason for this lameness 
is that userinfo like [1] is called for each site and this api call is not 
cached.
  [1] 
https://en.wikipedia.org/w/api.php?action=query&meta=userinfo&uiprop=blockinfo%7Cgroups%7Chasmsg%7Cratelimits%7Crights&formatversion=2&maxlag=5&format=json
  
  **Software version**:
  Pywikibot 8.5.0 - 8.0.4
  
  This issue was introduced with rPWBC891a720 
<https://phabricator.wikimedia.org/rPWBC891a720c09e694e85113c2376c0f1613c89a31a6>

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

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

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, PotsdamLamb, Jyoo1011, JohnsonLee01, 
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Vali.matei, 
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Dinoguy1000, 
jayvdb, Masti, Alchimista, Jay8g
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to