Skip to content

Conversation

sashass1315
Copy link
Contributor

Remove the per-instance Rayon thread pool from WorkloadExecutor and delete unused methods with_num_cpu_threads(...) and rayon_pool(). The local pool was never referenced; parallelism in the payload processor uses Tokio spawn_blocking and the global Rayon pool configured at node launch. Keeping a private pool consumed resources without benefit, making it dead code.

@mediocregopher
Copy link
Collaborator

@shekhirin @mattsse what was the intention here? did we mean to use this rayon pool for payload validation and then never did? Or this is just some cleanup that didn't get completed?

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty, I cherry picked some doc changes into #19065

@mediocregopher we previously used this to spawn tx execution I believe but these can also do a bunch of io so we moved away from rayon here

@mattsse mattsse closed this Oct 16, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in Reth Tracker Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants