only send to 3 servers
This commit is contained in:
parent
bba02cc121
commit
249ad884fc
@ -1365,13 +1365,15 @@ impl Web3ProxyApp {
|
|||||||
// TODO: timeout
|
// TODO: timeout
|
||||||
// TODO: change this to send serially until we get a success
|
// TODO: change this to send serially until we get a success
|
||||||
|
|
||||||
|
// TODO: validate params. we seem to get a lot of spam here of "0x"
|
||||||
|
|
||||||
let mut result = self
|
let mut result = self
|
||||||
.balanced_rpcs
|
.balanced_rpcs
|
||||||
.try_send_all_synced_connections::<serde_json::Value>(
|
.try_send_all_synced_connections::<serde_json::Value>(
|
||||||
web3_request,
|
web3_request,
|
||||||
Some(Duration::from_secs(30)),
|
Some(Duration::from_secs(30)),
|
||||||
Some(crate::rpcs::request::RequestErrorHandler::DebugLevel),
|
Some(crate::rpcs::request::RequestErrorHandler::DebugLevel),
|
||||||
None,
|
Some(3),
|
||||||
)
|
)
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
@ -1398,7 +1400,7 @@ impl Web3ProxyApp {
|
|||||||
web3_request,
|
web3_request,
|
||||||
Some(Duration::from_secs(30)),
|
Some(Duration::from_secs(30)),
|
||||||
Some(crate::rpcs::request::RequestErrorHandler::DebugLevel),
|
Some(crate::rpcs::request::RequestErrorHandler::DebugLevel),
|
||||||
None,
|
Some(3),
|
||||||
)
|
)
|
||||||
.await;
|
.await;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user