diff --git a/web3.js/src/connection.js b/web3.js/src/connection.js index aa03a94017..8d840fb751 100644 --- a/web3.js/src/connection.js +++ b/web3.js/src/connection.js @@ -406,7 +406,7 @@ export class Connection { }; break; } - if (attempts === 8) { + if (attempts === 16) { throw new Error( `Unable to obtain a new last id after ${Date.now() - startTime}ms`, );