Twp added a subscriber: Twp.
Twp added a comment.

This is also a considerable problem for me. My bot operates with a relatively 
slow edit rate (once every few hours) and it's hitting the badtoken exception 
on every edit. I can work around it with a wrapper to check for a badtoken 
error and retry the edit, but it's silly that the application should have to 
implement that.

I'm still digging through the pywikibot code to find the best place to fix it, 
but I'm inclined to agree that if it's too difficult to cache tokens reliably 
then they shouldn't be cached at all. Better to take an efficiency hit than to 
compromise functionality.


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

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

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

To: Twp
Cc: Twp, NiharikaKohli, XZise, Sitic, Qgil, Daniel_Mietchen, jayvdb, 
valhallasw, Ricordisamoa, 555, Multichill, Ladsgroup, pywikipedia-bugs



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

Reply via email to