Hacker News new | ask | show | jobs
by Alifatisk 907 days ago
Yeah, setting a hard cap on the maximum cpu count doesn’t feel right? Why not depend on the available cores?
1 comments

It’s a safe choice. Some systems won’t report cores correctly which can lead to reallllllly bad performance.
Maybe make it min(8, available_cores()) or something like that