Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [bug] get_cpus is not supporting cgroup2 #11635 * Fix cgroup2 "max" case #11635 When $MAX == "max", there is no limit on the cpu usage set Use multiprocessing.cpu_count() function in that case
- Loading branch information
1 parent
3f8de65
commit 63fffb7
Showing
1 changed file
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters