summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-02-27 16:11:44 +0400
committerAndrew Dolgov <[email protected]>2013-02-27 16:11:44 +0400
commitbf40c12408a6f6fd3183d54b47ef1fe9e19983d2 (patch)
tree4c4faa71853ccba2b94986e74bb5959ddb70b23c /js
parent8fe3a493d42fd5f7a781e8bb46d944358a5d029b (diff)
request_counters: force request 50% of the time to keep all counters updated
Diffstat (limited to 'js')
-rw-r--r--js/feedlist.js2
1 files changed, 1 insertions, 1 deletions
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);