Skip to content
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

improve: only run bundle builder when close to head #80

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

james-a-morris
Copy link
Contributor

This PR updates the logic to avoid running the bundle builder when the database is too far behind the head block. The issue arises because the bundle builder sets the transient bundle’s end block to the current head. If we’re significantly behind, this can lead to memory errors as the system tries to load/store an excessive amount of data across all chains.

@james-a-morris james-a-morris merged commit c696c1a into master Oct 21, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants