From 6311cbf335ed957be3c406e732ad83ff16be774d Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Thu, 14 Feb 2019 22:04:45 -0800 Subject: [PATCH] fix: retry harder to obtain a last_id --- web3.js/src/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`, );