make connect_with_timeout_with_buffers not async
This commit is contained in:
parent
7c0ac0177e
commit
95cde149e9
|
@ -55,8 +55,7 @@ pub fn create_geyser_reconnecting_stream(
|
|||
connect_timeout,
|
||||
request_timeout,
|
||||
buffer_config,
|
||||
)
|
||||
.await;
|
||||
);
|
||||
let mut client = connect_result?;
|
||||
|
||||
debug!("Subscribe with filter {:?}", subscribe_filter);
|
||||
|
|
|
@ -86,8 +86,7 @@ pub fn create_geyser_autoconnection_task_with_mpsc(
|
|||
connect_timeout,
|
||||
request_timeout,
|
||||
buffer_config,
|
||||
)
|
||||
.await;
|
||||
);
|
||||
|
||||
match connect_result {
|
||||
Ok(client) => ConnectionState::Connecting(attempt, client),
|
||||
|
|
|
@ -51,7 +51,7 @@ impl GeyserGrpcClientBufferConfig {
|
|||
}
|
||||
|
||||
|
||||
pub async fn connect_with_timeout_with_buffers<E, T>(
|
||||
pub fn connect_with_timeout_with_buffers<E, T>(
|
||||
endpoint: E,
|
||||
x_token: Option<T>,
|
||||
tls_config: Option<ClientTlsConfig>,
|
||||
|
|
Loading…
Reference in New Issue