valhallasw added a comment.

  The main background issue seems to be that 
`pywikibot.throttle.Throttle.__call__`
  
  1. locks the Throttle object,
  2. sleeps,
  3. unlocks the Throttle object
  
  so even though the putthread is in the background, the Throttle blocks both 
threads.
  
  I'm not 100% sure what the correct behavior should be; the lock makes sense 
(because otherwise you could have multiple write operations acting at the same 
time), but should probably distinguish between read and write operations.

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

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

To: valhallasw
Cc: Aklapper, Zppix, pywikibot-bugs-list, valhallasw, Mdupont, jayvdb



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

Reply via email to