Skip to content

Commit 05bc9f2

Browse files
increase prediction inverval to 60s
1 parent 5deb22f commit 05bc9f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/tracker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,13 +1320,13 @@ function refreshPredictions() {
13201320
if(!ls_pred && offline.get('opt_offline')) updatePredictions(offline.get('predictions'));
13211321
},
13221322
complete: function(request, textStatus) {
1323-
periodical_predictions = setTimeout(refreshPredictions, 2 * timer_seconds * 1000);
1323+
periodical_predictions = setTimeout(refreshPredictions, 60 * 1000);
13241324
}
13251325
});
13261326
}
13271327

13281328
var periodical, periodical_receivers, periodical_predictions;
1329-
var timer_seconds = 14;
1329+
var timer_seconds = 15;
13301330

13311331
function startAjax() {
13321332
// prevent insane clicks to start numerous requests

0 commit comments

Comments
 (0)