Skip to content

Commit 3541819

Browse files
committed
update freq poll
1 parent 5d781b2 commit 3541819

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ function autoHeightInput() {
145145
var pusher = null;
146146
var channel = null;
147147
var numberOfLogins = 80482701;
148-
var pollfreqWhenVisible = 1000;
149-
var pollfreqWhenHidden = 5000;
148+
var pollfreqWhenVisible = 5000;
149+
var pollfreqWhenHidden = 20000;
150150
var pollfreq;
151151

152152
function isScrolledIntoView(elem) {
@@ -196,7 +196,7 @@ setInterval(function() {
196196
if (clock.time.time < numberOfLogins) {
197197
clock.setTime(numberOfLogins);
198198
}
199-
}, 10*1000);
199+
}, 1000);
200200

201201
poll();
202202

0 commit comments

Comments
 (0)