*Update dist
This commit is contained in:
parent
b98db98b6a
commit
ae487a27e5
|
@ -44,7 +44,7 @@ export class SwarmClient extends Client {
|
||||||
this._ready = undefined;
|
this._ready = undefined;
|
||||||
}
|
}
|
||||||
async start() {
|
async start() {
|
||||||
this._connectBackoff.run(() => this.init());
|
await this._connectBackoff.run(() => this.init());
|
||||||
this._connectBackoff.on("retry", (error) => {
|
this._connectBackoff.on("retry", (error) => {
|
||||||
this.logErr(error);
|
this.logErr(error);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue