This commit is contained in:
Pankaj Garg 2019-03-06 20:08:34 +00:00 committed by Grimes
parent 283bb84134
commit 0252bf2f46
1 changed files with 5 additions and 1 deletions

View File

@ -98,7 +98,11 @@ impl BankingStage {
Err(Error::RecvTimeoutError(RecvTimeoutError::Timeout)) => (),
Ok(unprocessed_packets) => {
if let Some(leader) = cluster_info.read().unwrap().leader_data() {
let _ = Self::forward_unprocessed_packets(&socket, &leader.tpu, unprocessed_packets);
let _ = Self::forward_unprocessed_packets(
&socket,
&leader.tpu,
unprocessed_packets,
);
}
}
Err(err) => {