diff --git a/src/index.ts b/src/index.ts index b4fc25f..fee82c4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,7 +21,7 @@ export class SwarmClient extends Client { this._autoReconnect = autoReconnect; this._connectBackoff = new Backoff({ strategy: "fibo", - maxAttempts: 0, + maxAttempts: Number.MAX_SAFE_INTEGER, }); }