besu
besu copied to clipboard
Offload logbloom cache generation to computation executor, to avoid b…
…locking the timer
Signed-off-by: Fabio Di Fabio [email protected]
PR description
Logbloom cache regeneration at startup is a long running task, and at the moment it is run on the Timer executor, with the result that it block other scheduled task to be executed for a long period, see the graph below for an example of the queued tasks that are waiting to be exeecuted by the Timer executor

This PR offload all the logbloom cache generation tasks to the Computation executor
Fixed Issue(s)
Documentation
- [x] I thought about documentation and added the
doc-change-requiredlabel to this PR if updates are required.
Changelog
- [x] I thought about the changelog and included a changelog update if required.