----- Original Nachricht ---- Von: Merlijn van Deen <[email protected]> An: Pywikipedia discussion list <[email protected]> Datum: 15.02.2012 19:51 Betreff: Re: [Pywikipedia-l] problem
> On 15 February 2012 19:43, Bináris <[email protected]> wrote: > > > > > 2012/2/15 Andre Engels <[email protected]> > > > >> 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 > _______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
