From 0731d92dec4dc4644bf996630b4f843fb0a06ae3 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Thu, 19 Jan 2023 18:32:31 -0800 Subject: [PATCH] use best, not fastest with websocket --- web3_proxy/src/frontend/rpc_proxy_ws.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web3_proxy/src/frontend/rpc_proxy_ws.rs b/web3_proxy/src/frontend/rpc_proxy_ws.rs index ae6b700b..f031aaf6 100644 --- a/web3_proxy/src/frontend/rpc_proxy_ws.rs +++ b/web3_proxy/src/frontend/rpc_proxy_ws.rs @@ -128,9 +128,8 @@ pub async fn websocket_handler_with_key( user_agent: Option>, ws_upgrade: Option, ) -> FrontendResult { - // TODO: config instead of defaulting to fastest(1)? _websocket_handler_with_key( - ProxyMode::Fastest(1), + ProxyMode::Best, app, ip, rpc_key,