Steps to reproduce
- Change put_throttle in user-config.py to 5
- Do the following steps without longer time break, ideally immediately one right after another, but not overlapping
- Run any script on some pages (e.g. basic.py)
- Run revertbot.py without any parameters
- 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-config.py
Environment
last commit of pwb core from master branch, python 3.6.1
TODO
- Examine what is the result when adding put_throttle as a parameter -pt:5
- Examine whether it is reproducible on different Wikipedias