Commit 2b5accfa authored by Paul Ganssle's avatar Paul Ganssle Committed by GitHub

Merge pull request #1747 from pganssle/limit_workers

Limit workers in ProcessPoolExecutor
parents dd2240a7 127c8c74
...@@ -28,7 +28,7 @@ class BuildBackend(BuildBackendBase): ...@@ -28,7 +28,7 @@ class BuildBackend(BuildBackendBase):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super(BuildBackend, self).__init__(*args, **kwargs) super(BuildBackend, self).__init__(*args, **kwargs)
self.pool = futures.ProcessPoolExecutor() self.pool = futures.ProcessPoolExecutor(max_workers=1)
def __getattr__(self, name): def __getattr__(self, name):
"""Handles aribrary function invocations on the build backend.""" """Handles aribrary function invocations on the build backend."""
......
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