From 7d426413aa4fcfdc98ff4f10df2874699678ae07 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Fri, 4 Nov 2022 04:40:39 +0000 Subject: [PATCH] cleanup --- config/example.toml | 18 ++++++++++-------- web3_proxy/src/user_queries.rs | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/config/example.toml b/config/example.toml index 71d8c2a6..299c9b0d 100644 --- a/config/example.toml +++ b/config/example.toml @@ -45,10 +45,11 @@ response_cache_max_bytes = 10_000_000_000 soft_limit = 1_000 weight = 0 - #[balanced_rpcs.mycryptoapi] - #url = "https://api.mycryptoapi.com/eth" - #soft_limit = 1_000 - #weight = 0 + [balanced_rpcs.mycryptoapi] + disabled = true + url = "https://api.mycryptoapi.com/eth" + soft_limit = 1_000 + weight = 0 [balanced_rpcs.runonflux] url = "https://ethereumnodelight.app.runonflux.io" @@ -71,10 +72,11 @@ response_cache_max_bytes = 10_000_000_000 weight = 2 # load balanced light nodes are not very reliable - #[balanced_rpcs.linkpool-light] - #url = "https://main-light.eth.linkpool.io" - #soft_limit = 100 - #weight = 3 + [balanced_rpcs.linkpool-light] + disabled = true + url = "https://main-light.eth.linkpool.io" + soft_limit = 100 + weight = 3 [private_rpcs] diff --git a/web3_proxy/src/user_queries.rs b/web3_proxy/src/user_queries.rs index 9b92c472..d59dbd59 100644 --- a/web3_proxy/src/user_queries.rs +++ b/web3_proxy/src/user_queries.rs @@ -221,7 +221,7 @@ pub async fn query_user_stats<'a>( .select_only() .column_as( rpc_accounting::Column::FrontendRequests.sum(), - "total_requests", + "total_frontend_requests", ) .column_as( rpc_accounting::Column::BackendRequests.sum(),