request_counters: force request 50% of the time to keep all counters updated

This commit is contained in:
Andrew Dolgov 2013-02-27 16:11:44 +04:00
parent 8fe3a493d4
commit bf40c12408

View file

@ -234,7 +234,7 @@ function request_counters(force) {
var query = "?op=rpc&method=getAllCounters&seq=" + next_seq();
if (!force)
if (!force && Math.random() >= 0.5)
query = query + "&last_article_id=" + getInitParam("last_article_id");
console.log(query);