reduce counters request minimum interval

This commit is contained in:
Andrew Dolgov 2013-02-27 16:47:25 +04:00
parent bf40c12408
commit 5129d29d65
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ function request_counters(force) {
var date = new Date(); var date = new Date();
var timestamp = Math.round(date.getTime() / 1000); 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..."); console.log("scheduling request of counters...");
counters_last_request = timestamp; counters_last_request = timestamp;