increase block retry interval
Too enthusiastic block polling was causing 429 responses from infura.
Doubles the interval to remedy this.
commitab17998d14194dfd389b942278d745ca82299f8b
authorLiam Fitzgerald <liam@urizen.co>
dateSat 2 May 2020, 11:37 (7 years ago)
parent5927c5e
src/lib/constants.js+1−1
@@ -1,6 +1,6 @@
11import { isDevelopment } from './flags';
22
3−const CHECK_BLOCK_EVERY_MS = isDevelopment ? 1000 : 5000;
3+const CHECK_BLOCK_EVERY_MS = isDevelopment ? 1000 : 10000;
44const DEFAULT_GAS_PRICE_GWEI = 20;
55
66const MIN_GALAXY = 0;