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

master
Andrew Dolgov 12 years ago
parent 8fe3a493d4
commit bf40c12408

@ -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);

Loading…
Cancel
Save