update websocket lib to fix restart issue
This commit is contained in:
parent
b0357b5441
commit
2cfe24feb3
|
@ -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"
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue