From 685503ab3d9a69413eb80761a103ea7ed418e017 Mon Sep 17 00:00:00 2001 From: Kirill Tronin Date: Tue, 6 Sep 2022 16:16:11 +0700 Subject: [PATCH] reduce timeout --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 57a1a7e..0716b99 100644 --- a/src/index.js +++ b/src/index.js @@ -50,7 +50,7 @@ const processNetwork = (network) => { let fromBlockHeight = parseInt(lastProcessedData.height); - yield new Promise(res => setTimeout(res, 1000)); + yield new Promise(res => setTimeout(res, 100)); for (let height = fromBlockHeight + 1; height <= newHeight; height++) { yield processNewHeight(network, height); }