Skip to content

Commit 160a87f

Browse files
Try to fix the deployment 38
Signed-off-by: Lukasz Gryglicki <[email protected]>
1 parent 7d1ff5b commit 160a87f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cla-backend/cla/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import os
1515
import sys
1616
from multiprocessing.pool import ThreadPool
17+
from multiprocessing import set_start_method
1718

1819
from boto3 import client
1920
from botocore.exceptions import ClientError, ProfileNotFound, NoCredentialsError
@@ -196,6 +197,7 @@ def _load_single_key(key):
196197
]
197198

198199
# thread pool of 7 to load fetch the keys
200+
set_start_method("spawn")
199201
pool = ThreadPool(7)
200202
results = pool.map(_load_single_key, keys)
201203
pool.close()

0 commit comments

Comments
 (0)