This commit is contained in:
Bruno Windels 2020-03-31 10:13:25 +02:00
parent b6a5a02a33
commit bc69e49cfb

View file

@ -142,6 +142,8 @@ export class Reconnecter {
this._versionsResponse = null;
while (!this._versionsResponse) {
// TODO: should we wait first or request first?
// as we've just failed a request? I guess no harm in trying immediately
try {
this._setState(ConnectionState.Reconnecting);
const versionsRequest = this._hsApi.versions(10000);