Commit 519e76e8 authored by Tom Niget's avatar Tom Niget

Reserve two cores (to keep some cycles for the OS)

parent 043ace49
......@@ -32,7 +32,7 @@ parser.add_argument("-c", "--compile", action="store_true")
parser.add_argument("-g", "--generate", action="store_true")
parser.add_argument("-o", "--only", nargs="+")
parser.add_argument("-v", "--verbose", action="store_true")
parser.add_argument("-w", "--workers", type=int, default=None)
parser.add_argument("-w", "--workers", type=int, default=max(1, os.cpu_count() - 2))
args = parser.parse_args()
class TestStatus(enum.Enum):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment