feat: add semaphore for blocking IO requests (#20289)

This commit is contained in:
Matthias Seitz
2025-12-11 12:35:50 +01:00
committed by GitHub
parent 28e7c8a7cb
commit 2e567d6658
13 changed files with 224 additions and 11 deletions

View File

@@ -404,6 +404,13 @@ RPC:
[default: <NUM CPU CORES-2>]
--rpc.max-blocking-io-requests <COUNT>
Maximum number of concurrent blocking IO requests.
Blocking IO requests include `eth_call`, `eth_estimateGas`, and similar methods that require EVM execution. These are spawned as blocking tasks to avoid blocking the async runtime.
[default: 256]
--rpc.max-trace-filter-blocks <COUNT>
Maximum number of blocks for `trace_filter` requests

View File

@@ -404,6 +404,13 @@ RPC:
[default: <NUM CPU CORES-2>]
--rpc.max-blocking-io-requests <COUNT>
Maximum number of concurrent blocking IO requests.
Blocking IO requests include `eth_call`, `eth_estimateGas`, and similar methods that require EVM execution. These are spawned as blocking tasks to avoid blocking the async runtime.
[default: 256]
--rpc.max-trace-filter-blocks <COUNT>
Maximum number of blocks for `trace_filter` requests