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

fetcher: Sleep only after marking block as done when requeuing #2684

Merged
merged 5 commits into from
Sep 11, 2024

Conversation

ngotchac
Copy link
Contributor

@ngotchac ngotchac commented Sep 4, 2024

When requeuing a block (because of an unknown parent header), we should first mark the block as done before sleeping for 500ms and retrying (requeuing). Otherwise, the block fetcher will wait for 500ms before continuing its process.

zzzckck and others added 5 commits July 24, 2024 12:07
Revert "miner/worker: broadcast block immediately once sealed (bnb-chain#2576)"
Otherwise the node will be waiting for 500ms before the block fetcher
keeps processing.
buddh0
buddh0 previously approved these changes Sep 6, 2024
zzzckck
zzzckck previously approved these changes Sep 11, 2024
@zzzckck zzzckck changed the base branch from master to develop September 11, 2024 02:54
@zzzckck zzzckck dismissed stale reviews from buddh0 and themself September 11, 2024 02:54

The base branch was changed.

@zzzckck zzzckck merged commit 774d1b7 into bnb-chain:develop Sep 11, 2024
7 checks passed
@ngotchac ngotchac deleted the ngotchac/requeue-fixes branch September 11, 2024 08:17
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.

3 participants