Compare commits

..

No commits in common. "ae487a27e5ce0583652258672bf6f462e7f4698d" and "c52e437f50385ffb501928ec59cab8bf6387250a" have entirely different histories.

2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -44,7 +44,7 @@ export class SwarmClient extends Client {
this._ready = undefined;
}
async start() {
await this._connectBackoff.run(() => this.init());
this._connectBackoff.run(() => this.init());
this._connectBackoff.on("retry", (error) => {
this.logErr(error);
});

View File

@ -60,7 +60,7 @@ export class SwarmClient extends Client {
}
async start(): Promise<void> {
await this._connectBackoff.run(() => this.init());
this._connectBackoff.run(() => this.init());
this._connectBackoff.on("retry", (error: any) => {
this.logErr(error);