Increase eth-rpc cache size

This commit is contained in:
Omar Abdulla
2025-11-10 09:54:20 +03:00
parent f9a63a5641
commit d0cffd24c1
4 changed files with 22 additions and 8 deletions
@@ -251,6 +251,10 @@ impl SubstrateNode {
.arg(format!("ws://127.0.0.1:{substrate_rpc_port}"))
.arg("--rpc-max-connections")
.arg(u32::MAX.to_string())
.arg("--index-last-n-blocks")
.arg(1_000u32.to_string())
.arg("--cache-size")
.arg(1_000u32.to_string())
.env("RUST_LOG", Self::PROXY_LOG_ENV)
.stdout(stdout_file)
.stderr(stderr_file);