Increase default work queue size #7415
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue Addressed
Fix for error message seen on some nodes which are struggling slightly after Pectra:
Because we convert
SingleAttestations to regular attestations in a separate work event, we are now saturating the work event queue more often. This will remain an issue until a more optimised implementation ofSingleAttestationprocessing is merged (likely for v7.1.0). See:SingleAttestationimplementation further #6970Proposed Changes
Double the size of the generic work event queue. This isn't guaranteed to fix the issue, as nodes could be struggling to an arbitrary degree. However it should make up for the approx doubling of work events introduced by Pectra so that only nodes logging errors prior to the fork are logging errors now.
Additional Info
I'm rolling this out to some of our Holesky nodes that exhibit this behaviour and will report back on its efficacy.