*set maxAttempts to Number.MAX_SAFE_INTEGER

This commit is contained in:
Derrick Hammer 2023-02-17 11:28:07 -05:00
parent 1970763114
commit 6f30bb7faa
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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,
});
}