This commit is contained in:
Bryan Stitt 2022-11-04 04:40:39 +00:00
parent ef09a44f0e
commit 7d426413aa
2 changed files with 11 additions and 9 deletions

View File

@ -45,10 +45,11 @@ response_cache_max_bytes = 10_000_000_000
soft_limit = 1_000 soft_limit = 1_000
weight = 0 weight = 0
#[balanced_rpcs.mycryptoapi] [balanced_rpcs.mycryptoapi]
#url = "https://api.mycryptoapi.com/eth" disabled = true
#soft_limit = 1_000 url = "https://api.mycryptoapi.com/eth"
#weight = 0 soft_limit = 1_000
weight = 0
[balanced_rpcs.runonflux] [balanced_rpcs.runonflux]
url = "https://ethereumnodelight.app.runonflux.io" url = "https://ethereumnodelight.app.runonflux.io"
@ -71,10 +72,11 @@ response_cache_max_bytes = 10_000_000_000
weight = 2 weight = 2
# load balanced light nodes are not very reliable # load balanced light nodes are not very reliable
#[balanced_rpcs.linkpool-light] [balanced_rpcs.linkpool-light]
#url = "https://main-light.eth.linkpool.io" disabled = true
#soft_limit = 100 url = "https://main-light.eth.linkpool.io"
#weight = 3 soft_limit = 100
weight = 3
[private_rpcs] [private_rpcs]

View File

@ -221,7 +221,7 @@ pub async fn query_user_stats<'a>(
.select_only() .select_only()
.column_as( .column_as(
rpc_accounting::Column::FrontendRequests.sum(), rpc_accounting::Column::FrontendRequests.sum(),
"total_requests", "total_frontend_requests",
) )
.column_as( .column_as(
rpc_accounting::Column::BackendRequests.sum(), rpc_accounting::Column::BackendRequests.sum(),