From 9c8ad7e37259b3e224ce8690042d8a22e227b4ae Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Fri, 20 Jun 2025 20:01:39 +0200 Subject: [PATCH] Revert "core: improve the prefetcher concurrency allowance" This reverts commit 4ed539f88e97f0a00b2f9387315efb6999ed9016. --- core/state_prefetcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/state_prefetcher.go b/core/state_prefetcher.go index 2f40e3dc97..f3129f57cd 100644 --- a/core/state_prefetcher.go +++ b/core/state_prefetcher.go @@ -57,7 +57,7 @@ func (p *statePrefetcher) Prefetch(block *types.Block, statedb *state.StateDB, c workers errgroup.Group reader = statedb.Reader() ) - workers.SetLimit(4 * runtime.NumCPU() / 5) // Aggressively run the prefetching + workers.SetLimit(runtime.NumCPU() / 2) // Iterate over and process the individual transactions for i, tx := range block.Transactions() {