Compare commits

...

2 Commits

Author SHA1 Message Date
Derrick Hammer c52e437f50
*Update dist 2023-02-17 11:28:36 -05:00
Derrick Hammer 6f30bb7faa
*set maxAttempts to Number.MAX_SAFE_INTEGER 2023-02-17 11:28:07 -05:00
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -14,7 +14,7 @@ export class SwarmClient extends Client {
this._autoReconnect = autoReconnect;
this._connectBackoff = new Backoff({
strategy: "fibo",
maxAttempts: 0,
maxAttempts: Number.MAX_SAFE_INTEGER,
});
}
get swarm() {

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