matrix-js-sdk
352f79e9 - Handle the first /sync failure differently.

Comment changes are shownComment changes are hidden
Commit
8 years ago
Handle the first /sync failure differently. A /sync request may spuriously fail on occasion, without the "connection" actually being lost. To avoid spurious "Connection Lost" warning messages we ignore the first /sync and immediately retry, and only if that fails do we enter an ERROR state.
Author
Parents
  • lib
    • File
      sync.js