Skip to content

Commit

Permalink
update to work with the new max retries value (hyperledger#7253)
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Florentine <[email protected]>
Co-authored-by: Sally MacFarlane <[email protected]>
  • Loading branch information
jflo and macfarla authored Jun 25, 2024
1 parent 74780b8 commit cfc3e76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public void shouldRecoverFromUnresponsivePeer(final DataStorageFormat storageFor

final CompletableFuture<FastSyncState> future = pivotBlockRetriever.downloadPivotBlockHeader();
peerA.respond(responder);
peerB.respondTimes(emptyResponder, 2);
peerB.respondTimes(emptyResponder, 3);

// PeerA should have responded, while peerB is being retried, peerC shouldn't have been queried
// yet
Expand Down

0 comments on commit cfc3e76

Please sign in to comment.