tor/changes/ticket40713
David Goulet b9de73e46e cpu: Set number of threads to number of cores
Cap this to 2 threads always because we need a low and high priority
thread even with a single core.

Fixes #40713

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-11-23 13:52:36 -05:00

5 lines
235 B
Plaintext

o Minor feature (cpuworker):
- Always use the number of threads for our CPU worker pool to the number of
core available but cap it to a minimum of 2 in case of a single core.
Fixes bug 40713; bugfix on 0.3.5.1-alpha.