From: Andrew Dolgov Date: Wed, 27 Feb 2013 12:47:25 +0000 (+0400) Subject: reduce counters request minimum interval X-Git-Tag: 1.7.1~22^2~12 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5129d29d65f13323652c236c5990f3983a8ec555;p=tt-rss.git reduce counters request minimum interval --- diff --git a/js/feedlist.js b/js/feedlist.js index 6f62de7b..a9ee19c0 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -227,7 +227,7 @@ function request_counters(force) { var date = new Date(); var timestamp = Math.round(date.getTime() / 1000); - if (force || timestamp - counters_last_request > 15) { + if (force || timestamp - counters_last_request > 5) { console.log("scheduling request of counters..."); counters_last_request = timestamp;