When I build my project with the task button in VSCode, it always uses all cores to start compiling and building.
I would like to start it with 1 less core, so i can do some other stuff while building.
How can I modify the behaviour of the taskpane taksbuttongs that platformIO IDE adds?
Currently, you either have to invoke the build process manually on the commandline with a specified number of jobs (= approximately cores) like
pio run -j 3
for 3 jobs in parallel, or a regular build will use all available cores. There is no environment variable to control the default number of jobs, it defaults to the detected number of CPU cores.