Increase Kitchensink maximum http connections (#148)

* Throttle the Kitchensink requests

* Increase max connections limit for kitchensink
This commit is contained in:
Omar
2025-08-21 01:25:17 +03:00
committed by GitHub
parent 85033cfead
commit bec5a7e390
2 changed files with 14 additions and 3 deletions
+4
View File
@@ -203,6 +203,8 @@ impl KitchensinkNode {
.arg("Unsafe")
.arg("--rpc-cors")
.arg("all")
.arg("--rpc-max-connections")
.arg(u32::MAX.to_string())
.env("RUST_LOG", Self::SUBSTRATE_LOG_ENV)
.stdout(kitchensink_stdout_logs_file.try_clone()?)
.stderr(kitchensink_stderr_logs_file.try_clone()?)
@@ -229,6 +231,8 @@ impl KitchensinkNode {
.arg(proxy_rpc_port.to_string())
.arg("--node-rpc-url")
.arg(format!("ws://127.0.0.1:{substrate_rpc_port}"))
.arg("--rpc-max-connections")
.arg(u32::MAX.to_string())
.env("RUST_LOG", Self::PROXY_LOG_ENV)
.stdout(eth_proxy_stdout_logs_file.try_clone()?)
.stderr(eth_proxy_stderr_logs_file.try_clone()?)