----- Original Nachricht ---- Von: Merlijn van Deen valhallasw@arctus.nl An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 15.02.2012 19:51 Betreff: Re: [Pywikipedia-l] problem
On 15 February 2012 19:43, Bináris wikiposta@gmail.com wrote:
2012/2/15 Andre Engels andreengels@gmail.com
I guess there should be variation in replag waiting between various bots, with highly interactive bots not reacting at all, bots with less interaction only to severe server lag, and bots which are just switched on, then work interactively slowing down with even moderate server lag.
This sounds well. Replace.py could also detect the mode and go to sleep easier in automatic mode.
I'd rather see less logic than more logic in bots - less code is less bugs. Instead, I'd like to propose a more general solution: a -config command line parameter that lets you override *any* configuration parameter in user-config.py/config.py, *including* maxlag.
Best, Merlijn
I agree with Merlijn. A further idea is, we use sth like max(2 * config.maxlag, config.put_throttle) for throttleling with increases the edit time while a higher server replication lag is enabled. Ok this fails by maxlag==0.
Regards xqt