From 7d285a4f1b1aace51620c7085dd5f33b67b2326f Mon Sep 17 00:00:00 2001 From: Torrey Atcitty Date: Thu, 11 Jul 2024 04:47:57 -0700 Subject: [PATCH] Increase the new block check interval from 20s to 60s. --- src/js/ports.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/ports.js b/src/js/ports.js index adfa23e..1b2542a 100644 --- a/src/js/ports.js +++ b/src/js/ports.js @@ -48,7 +48,7 @@ const PROVIDER_TYPE_SHOW_ACCOUNT = 3; const ACCOUNT_CHECK_INTERVAL_MS = 2000; const NETWORK_CHECK_INTERVAL_MS = 4000; -const NEW_BLOCK_CHECK_INTERVAL_MS = 20_000; +const NEW_BLOCK_CHECK_INTERVAL_MS = 60_000; const SECONDS_PER_BLOCK = 12; const BLOCKS_PER_DAY = new BN(7200); // 12 seconds per block const EXP_DECIMALS = 18;