-
Notifications
You must be signed in to change notification settings - Fork 877
Remove reprocess channel #7437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: unstable
Are you sure you want to change the base?
Remove reprocess channel #7437
Conversation
Nice! Love this! |
Since reprocess and regular work events will all come through a single channel, we may need to raise the default work queue size like we're doing here: #7415 |
…v/lighthouse into remove-reprocess-channel
This pull request has merge conflicts. Could you please resolve them @eserilev? 🙏 |
Some required checks have failed. Could you please take a look @eserilev? 🙏 |
All required checks have passed and there are no merge conflicts. This pull request may now be ready for another review. |
Issue Addressed
Partially #6291
Proposed Changes
This PR removes the reprocess event channel from being externally exposed. All work events are now sent through the single
BeaconProcessorSend
channel. I've introduced a newWork::Reprocess
enum variant which we then use to schedule jobs for reprocess. I've also created a new scheduler module which will eventually house the different scheduler impls.This is all needed as an initial step to generalize the beacon processor
A "full" implementation for the generalized beacon processor can be found here
#6448
I'm going to try to break up the full implementation into smaller PR's so it can actually be reviewed