#3: do not panic on geyser stream close

This commit is contained in:
GroovieGermanikus 2024-01-07 19:59:34 +01:00
parent 4d7e781e9a
commit 623f40fe6a
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
1 changed files with 2 additions and 1 deletions

View File

@ -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))
}
}