From 1d9dc004cc91e1ffee67b800f7f46400068da200 Mon Sep 17 00:00:00 2001 From: GroovieGermanikus Date: Mon, 5 Aug 2024 15:36:49 +0200 Subject: [PATCH] work around websocket stable startup bug --- src/slot_latency_tester.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slot_latency_tester.rs b/src/slot_latency_tester.rs index 4ecfe10..e61f7b1 100644 --- a/src/slot_latency_tester.rs +++ b/src/slot_latency_tester.rs @@ -155,7 +155,7 @@ async fn websocket_source(rpc_url: Url, slot_source: SlotSource, let mut ws1 = StableWebSocket::new_with_timeout( rpc_url, processed_slot_subscribe.clone(), - Duration::from_secs(3), + Duration::MAX, ) .await .unwrap();