Prevent log spam (#22148) (#22152)

(cherry picked from commit f061059e45)

Co-authored-by: carllin <carl@solana.com>
This commit is contained in:
mergify[bot]
2021-12-29 08:28:48 +00:00
committed by GitHub
parent 401c542d2a
commit 9fb67f9b07

View File

@ -457,7 +457,7 @@ impl ClusterInfoVoteListener {
) { ) {
match e { match e {
Error::CrossbeamRecvTimeout(RecvTimeoutError::Disconnected) Error::CrossbeamRecvTimeout(RecvTimeoutError::Disconnected)
| Error::ReadyTimeout => (), | Error::CrossbeamRecvTimeout(RecvTimeoutError::Timeout) => (),
_ => { _ => {
error!("thread {:?} error {:?}", thread::current().name(), e); error!("thread {:?} error {:?}", thread::current().name(), e);
} }