From 2cfe24feb3865d0a83e67b4dbcb16405f30b1c5c Mon Sep 17 00:00:00 2001 From: GroovieGermanikus Date: Thu, 8 Aug 2024 13:02:09 +0200 Subject: [PATCH] update websocket lib to fix restart issue --- Cargo.toml | 2 +- src/slot_latency_tester.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 37d362b..aa8a717 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ solana-rpc-client = "1.17.31" solana-rpc-client-api = "1.17.31" solana-account-decoder = "1.17.31" spl-token = "4.0.0" -websocket-tungstenite-retry = { git = "https://github.com/grooviegermanikus/websocket-tungstenite-retry.git", tag = "v0.8.0" } +websocket-tungstenite-retry = { git = "https://github.com/grooviegermanikus/websocket-tungstenite-retry.git", tag = "v0.8.1" } geyser-grpc-connector = { tag = "v0.10.6+yellowstone.1.13+solana.1.17.28", git = "https://github.com/blockworks-foundation/geyser-grpc-connector.git" } yellowstone-grpc-client = "~1.14.0" yellowstone-grpc-proto = "~1.13.0" diff --git a/src/slot_latency_tester.rs b/src/slot_latency_tester.rs index 92aef8e..82fb330 100644 --- a/src/slot_latency_tester.rs +++ b/src/slot_latency_tester.rs @@ -166,7 +166,7 @@ async fn websocket_source( let mut ws1 = StableWebSocket::new_with_timeout( rpc_url, processed_slot_subscribe.clone(), - Duration::from_secs(3600 * 100 * 100), + Duration::from_secs(10), ) .await .unwrap();