We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d1ff5b commit 160a87fCopy full SHA for 160a87f
cla-backend/cla/config.py
@@ -14,6 +14,7 @@
14
import os
15
import sys
16
from multiprocessing.pool import ThreadPool
17
+from multiprocessing import set_start_method
18
19
from boto3 import client
20
from botocore.exceptions import ClientError, ProfileNotFound, NoCredentialsError
@@ -196,6 +197,7 @@ def _load_single_key(key):
196
197
]
198
199
# thread pool of 7 to load fetch the keys
200
+ set_start_method("spawn")
201
pool = ThreadPool(7)
202
results = pool.map(_load_single_key, keys)
203
pool.close()
0 commit comments