Skip to content

Commit

Permalink
#3235 was obsoleted by #2156 which was fixed by #3505
Browse files Browse the repository at this point in the history
  • Loading branch information
mpguerra committed May 19, 2023
1 parent 39f86f7 commit 2e362d9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions zebra-network/src/policies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ impl<Req: Clone + std::fmt::Debug, Res, E: std::fmt::Debug> Policy<Req, Res, E>
Some(
// Let other tasks run, so we're more likely to choose a different peer,
// and so that any notfound inv entries win the race to the PeerSet.
//
// TODO: move syncer retries into the PeerSet,
// so we always choose different peers (#3235)
Box::pin(tokio::task::yield_now().map(move |()| retry_outcome)),
)
} else {
Expand Down

0 comments on commit 2e362d9

Please sign in to comment.