Merge pull request #23886 from gnossen/distribtest_breakage

Fix parallelism when env variable unset
pull/23876/head
Richard Belleville 4 years ago committed by GitHub
commit 05a8f81253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/distrib/python/grpcio_tools/_parallel_compile_patch.py

@ -22,7 +22,7 @@ import os
try:
BUILD_EXT_COMPILER_JOBS = int(
os.environ.get('GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS'))
os.environ['GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS'])
except KeyError:
import multiprocessing
BUILD_EXT_COMPILER_JOBS = multiprocessing.cpu_count()

Loading…
Cancel
Save