Hi,

Why so low of a timeout 50ms?
https://github.com/reiern70/antilia-bits/blob/master/client-sign-out-parent/client-sign-out/src/main/java/com/antilia/signout/InactivitySignOutPanel.js#L34

should it not be something like 5000? I don't see the point of counting down
so often. Maybe count down every 5 secs. Don't forget also to decrease the
counter accordingly. 

I imagine also using console.log('time is now ...') when the timer decreases
might provide some insights on what's exactly going on.

I'd be mad as an user that something it's eating up my cpu if you'd do that
and be thankful for things like:
https://stackoverflow.com/questions/6032429/chrome-timeouts-interval-suspended-in-background-tabs
 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Ajax-timer-not-counting-when-tab-doesn-t-have-focus-tp4665789p4665802.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to