Tezlink/Node: set shortest delay between block
What
Set the shortest minimal_delay_between_blocks possible in the protocol constants.
Why
Tzkt indexing is using it to set the pace. So if we leave it as is it's indexing every ~8sec, which leads to lackluster responsiveness.
How
Just patch the value.
It's a bit rough, but indexing looks OK even if the sequencer is started with a tuime-between-blocks longer than the minimal_delay_between_blocks
Manually testing the MR
Start a sandbox with time-between-blocks = 0.5 sec and an indexer, and watch tzkt indexing blocks two by two
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by Pierre-Emmanuel CORNILLEAU