From bf40c12408a6f6fd3183d54b47ef1fe9e19983d2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 27 Feb 2013 16:11:44 +0400 Subject: [PATCH] request_counters: force request 50% of the time to keep all counters updated --- js/feedlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/feedlist.js b/js/feedlist.js index 282e64b37..6f62de7b8 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -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);