]> git.wh0rd.org Git - tt-rss.git/commitdiff
reduce counters request minimum interval
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 27 Feb 2013 12:47:25 +0000 (16:47 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 27 Feb 2013 12:47:25 +0000 (16:47 +0400)
js/feedlist.js

index 6f62de7b883a98feced8022ebef800e66e3f56be..a9ee19c066c10c9f6f17d9f02c527f060b67ba84 100644 (file)
@@ -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;