Commit d3a08b2
committed
Adjust CPU usage calculation in worker pool initialization.
Changed the CPU count from `NumCPU() * 2` to `NumCPU()` to prevent potential over-allocation of resources. This ensures the system operates within its actual CPU capacity, improving efficiency and stability.1 parent 3e8bb2b commit d3a08b2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
0 commit comments