forked from mystiq/hydrogen-web
WIP2
This commit is contained in:
parent
b6a5a02a33
commit
bc69e49cfb
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue