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 e978bd5 commit 57aecd4Copy full SHA for 57aecd4
taskqueue/taskqueue.py
@@ -563,6 +563,10 @@ def capturing_soloprocess_upload(*args, **kwargs):
563
if platform.system().lower() == "darwin":
564
os.environ["no_proxy"] = "*"
565
566
+ # Don't fork, spawn entirely new processes. This
567
+ # avoids accidental deadlocks.
568
+ mp.set_start_method("spawn", force=True)
569
+
570
ct = 0
571
with tqdm(desc="Upload", total=total) as pbar:
572
with pathos.pools.ProcessPool(parallel) as pool:
0 commit comments