matrix-js-sdk
2968e9c0 - Fix potential 30s delay on reconnect

Commit
9 years ago
Fix potential 30s delay on reconnect After a connection glitch we would normally sync with zero timeout so the connection comes back faster, but we didn't if the first keepalive succeeds since we never marked the connection as failed. This makes the behaviour more consistent. Also get rid of the connectionLost flag which was only used in one place anyway.
Author
Parents
Loading