#3: do not panic on geyser stream close
This commit is contained in:
parent
4d7e781e9a
commit
623f40fe6a
|
@ -234,7 +234,8 @@ pub fn create_geyser_reconnecting_stream(
|
|||
}
|
||||
None => {
|
||||
// should not arrive here, Mean the stream close.
|
||||
panic!("geyser stream closed on {} - retrying", grpc_source);
|
||||
warn!("geyser stream closed on {} - retrying", grpc_source);
|
||||
(ConnectionState::WaitReconnect(attempt), Message::Connecting(attempt))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue