mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 17:11:29 +00:00
request_counters: force request 50% of the time to keep all counters updated
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user