On 08.09.2015 18:37, Legoktm wrote:
Hi,
On 09/08/2015 08:30 AM, Markus Krötzsch wrote:
Hi,
Users without a bot flag will quickly receive an error when trying to
make too many edits in a row [1]. I noticed that I am getting this even
when editing at a rate of 0.5 edits/second. What is permissible there? I
would like to use this as a default throttling in WDTK.
Pywikibot uses a default throttle of 6 edits per minute, and users can
override it in their config file or with a command-line argument. I
think it's a sane default for most users.
Interesting. That's much slower than I would have thought. I think even
Autolist2 makes a lot more edits per minute (maybe one per second?).
Moreover, when editing as a bot, this limit does
not apply. Is there a
recommended edit rate for bots? Of course there is the dispatch
statistics, but I guess it is better to avoid pushing this to a high
value before stopping.
I think this depends how much your trust your code versus how many
reverts you'll potentially have to make once someone finds a bug. I
think 10-15 edits per minute is usually reasonable.
You should still follow everything in [1] though, specifically no
parallel requests and obeying maxlag.
Yes, I have already implemented maxlag for Wikidata Toolkit -- it will
be part of the next release. Direct throttling will be next. The median
lag check will be third. Then I will make another release ;-)
I never make parallel requests (since you can easily make hundreds of
edits per minute sequentially, parallel access seems to be quite
pointless ;-).
Markus
_______________________________________________
Wikidata-tech mailing list
Wikidata-tech(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech