diff options
author | Andrew Dolgov <[email protected]> | 2013-02-27 16:11:44 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-02-27 16:11:44 +0400 |
commit | bf40c12408a6f6fd3183d54b47ef1fe9e19983d2 (patch) | |
tree | 4c4faa71853ccba2b94986e74bb5959ddb70b23c /js | |
parent | 8fe3a493d42fd5f7a781e8bb46d944358a5d029b (diff) |
request_counters: force request 50% of the time to keep all counters updated
Diffstat (limited to 'js')
-rw-r--r-- | js/feedlist.js | 2 |
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); |