Skip to content

Try dropping expired messages from the reprocess queue #7710

Open
@michaelsproul

Description

@michaelsproul

At the moment when a message times out in the reprocess queue, we try to process it again. For attestations this is almost certainly a waste of time, because if they were processable we would have already dequeued them when their matching head block arrived.

I want to try experimenting with just trashing attestations that timeout, rather than trying to reprocess them. This shouldn't happen a lot during normal operation, but may happen on unhealthy nodes, and during non-finality or in other periods of high load.

Metadata

Metadata

Assignees

Labels

optimizationSomething to make Lighthouse run more efficiently.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions