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

Fix ws halt #6981

Merged
merged 8 commits into from
Apr 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/s…
…ync/snapsync/CompleteTaskStep.java

Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Jason Frame <jasonwframe@gmail.com>
  • Loading branch information
jframe and macfarla authored Apr 23, 2024
commit 3e8a4600cd4cf06143042566c7a210438ee8a355
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public synchronized void markAsCompleteOrFailed(
final boolean isResponseReceived = task.getData().isResponseReceived();
final boolean isExpiredRequest =
task.getData() instanceof TrieNodeHealingRequest && task.getData().isExpired(snapSyncState);
// by the old one when we are changing pivot block
// if pivot block has changed, the request is expired and we mark this one completed
if (isResponseReceived || isExpiredRequest) {
completedRequestsCounter.inc();
task.markCompleted();
Expand Down
Loading