reduce counters request minimum interval

This commit is contained in:
Andrew Dolgov 2013-02-27 16:47:25 +04:00
parent bf40c12408
commit 5129d29d65

View 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;