matrix-js-sdk
2ea66d2e - Indicate syncState ERROR after many failed /syncs

Commit
8 years ago
Indicate syncState ERROR after many failed /syncs when a /sync leads to an error, increase a counter and use the counter to decide which state to be in when starting keepAlives. If the count is above a certain threshold (arbitrary 3 chosen here), switch from RECONNECTING to ERROR to show that the server is facing difficulties that aren't affeting is ability to return on /versions.
Author
Luke Barnard
Parents
Loading