Dvorapa created this task.
Dvorapa added projects: Pywikibot-Other-scripts, Pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

Steps to reproduce

  1. Change put_throttle in user-fixes.py to 5
  2. Do the following steps without longer time break, ideally immediately one right after another, but not overlapping
  3. Run any script on some pages (e.g. basic.py)
  4. Run revertbot.py without any parameters
  5. Run any script on some pages (e.g. basic.py)

Expected behavior
Sleeping for # seconds should be similar for script and revertbot

Current behavior
basic.py: Sleeping for 3–5 seconds
revertbot.py: Sleeping for 8–10 seconds
basic.py: Sleeping for 3–5 seconds

A server response should be similar (per step 2), therefore it seems to me as if revertbot.py doesn't respect put_throttle parameter in user-fixes.py

I currently can not test what is the result when adding a parameter -pt:5 to revertbot, but its effect to revertbot should be examined too.

Environment
last commit of pwb core from master branch, python 3.6.1


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

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

To: Dvorapa
Cc: Aklapper, pywikibot-bugs-list, Dvorapa, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to