Increase pop timeout for simple thread pool
Open
Nobody has claimed this yet.
dima
type: task
- Dominant language
- C++
- Stars
- 2.9k
- Forks
- 342
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 53
Description
Description
The current pop timeout for the simple thread pool is 100ms. To reduce CPU overhead, it should be increased to 1s.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the simple thread pool implementation and identify where its current 100ms pop timeout is defined and used. Check existing thread-pool or timing-related tests before making the change. Done means the timeout is 1s, CPU overhead is reduced as intended, and relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend, performance
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100