*set maxAttempts to Number.MAX_SAFE_INTEGER
This commit is contained in:
parent
1970763114
commit
6f30bb7faa
|
@ -21,7 +21,7 @@ export class SwarmClient extends Client {
|
||||||
this._autoReconnect = autoReconnect;
|
this._autoReconnect = autoReconnect;
|
||||||
this._connectBackoff = new Backoff({
|
this._connectBackoff = new Backoff({
|
||||||
strategy: "fibo",
|
strategy: "fibo",
|
||||||
maxAttempts: 0,
|
maxAttempts: Number.MAX_SAFE_INTEGER,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue