-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
re-IDLE dosn't sends #42
Comments
Can you produce a small test case that reproduces the issue? |
setTimeout callback fires only once, when My debug log, you can see that there are no re-IDLEs, connection dies after several hours:
|
Fix need a lot of code changes, or just one noop :) self._state.tmrKeepalive = setInterval(function() {
if (self._state.isIdle) {
if (self._state.ext.idle.sentIdle) {
self._state.ext.idle.timeWaited += self._state.tmoKeepalive;
if (self._state.ext.idle.timeWaited >= self._state.ext.idle.MAX_WAIT)
self._noop(); // It causes re-IDLE
} else
self._noop();
}
}, self._state.tmoKeepalive); |
@unkernet do you still experience this problem with 0.3.1? |
feat(home): homepage padding different from subpage
I think you need to use
setInterval
instead ofsetTimeout
The text was updated successfully, but these errors were encountered: