Skip to content

Commit

Permalink
Leader info refresher (#24597) (#24810)
Browse files Browse the repository at this point in the history
In PR review https://github.com/solana-labs/solana/pull/24083/files#r852661162. We are concerned the leader info might be out dated if the retry queue is long causing large number transactions sent to outdated leaders and increasing the load in the network.

A leader info refresher is used to ensure the leader info is up-to-date before being used in sending transactions. The refresher can update the new leader with updated endpoints.

(cherry picked from commit 431c841)

Co-authored-by: Lijun Wang <[email protected]>
  • Loading branch information
mergify[bot] and lijunwangs authored Apr 30, 2022
1 parent 0a993a3 commit 9bbb00b
Showing 1 changed file with 96 additions and 55 deletions.
Loading

0 comments on commit 9bbb00b

Please sign in to comment.