File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1212
1313
1414BLOCK_TO_RETRIEVE = 3 # Number of block to retrieve from the W3 RPC by HTTP request
15- COUNT_BEFORE_RESYNC = 200 # Number of retrieve before resynchronizing to the latest block
16- BLOCK_BUFFER = 4 # Gap between the latest block available and what is actually retrieve
15+ COUNT_BEFORE_RESYNC = 100 # Number of retrieve before resynchronizing to the latest block
16+ BLOCK_BUFFER = 5 # Gap between the latest block available and what is actually retrieve
1717TIME_TO_WAIT_BEFORE_RETRY = 1.5 # time to wait before retry when RPC is not available
1818MAX_RETRIES_PER_BLOCK_RANGE = 6 # Number of time the request will be retried when it has failed before changing the RPC
1919COUNT_PERIODIC_BACKFILL_THEGRAPH = 960 # Number of iteration before backfilling the blocks into the DB the blocks of the last few hours (with TheGraph)
You can’t perform that action at this time.
0 commit comments