Smarter block time delays
d4hines opened this issue · comments
We currently delay blocks by 1 second. The only purpose this delay is to prevent flooding the terminal during manual tests. However, this slows the chain down artificially when doing our benchmarks (in #539).
I made this delay configurable in #682.
@EduardoRFS has suggested we do the following instead:
- if there are any pending operations that we can apply, don't delay at all - immediately distribute the next block.
- if there are no pending operations we can apply, wait a configurable amount of time (he suggests 5s default).