update websocket lib to fix restart issue

This commit is contained in:
GroovieGermanikus 2024-08-08 13:02:09 +02:00
parent b0357b5441
commit 2cfe24feb3
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ solana-rpc-client = "1.17.31"
solana-rpc-client-api = "1.17.31" solana-rpc-client-api = "1.17.31"
solana-account-decoder = "1.17.31" solana-account-decoder = "1.17.31"
spl-token = "4.0.0" 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" } 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-client = "~1.14.0"
yellowstone-grpc-proto = "~1.13.0" yellowstone-grpc-proto = "~1.13.0"

View File

@ -166,7 +166,7 @@ async fn websocket_source(
let mut ws1 = StableWebSocket::new_with_timeout( let mut ws1 = StableWebSocket::new_with_timeout(
rpc_url, rpc_url,
processed_slot_subscribe.clone(), processed_slot_subscribe.clone(),
Duration::from_secs(3600 * 100 * 100), Duration::from_secs(10),
) )
.await .await
.unwrap(); .unwrap();