On Wed, Nov 17, 2010 at 05:44:57PM +0300, Max Semenik wrote:
> On 17.11.2010, 16:39 Raymond wrote:
> 
> > 2) How would I know when I'm accessing the API too quickly or too 
> > often?  I read at
> > http://www.mediawiki.org/wiki/API:Errors_and_warnings 
> > that there is ratelimited  error message, but so far, I've not seen that
> > error myself.  If I don't get a ratelimited error, does that mean I'm 
> > doing ok with respect to being a good API citizen.
> 
> Rate limits are for editing and logging in only.

Also, use and handle maxlag=5 on all queries so your bot will
automatically pause when the database servers are overloaded. See
http://www.mediawiki.org/wiki/Manual:Maxlag_parameter

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to