Skip to content

Commit 896a1c6

Browse files
committed
cpu
1 parent 94e7e55 commit 896a1c6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scallops/tests/miniwdl_local/local_runner.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import multiprocessing
21
import os
32
import threading
43
from contextlib import ExitStack
@@ -17,7 +16,7 @@ def global_init(cls, cfg, logger):
1716
Perform any necessary process-wide initialization of the container backend
1817
"""
1918
cls._resource_limits = {
20-
"cpu": min(2, multiprocessing.cpu_count()),
19+
"cpu": 1,
2120
"mem_bytes": psutil.virtual_memory().total,
2221
}
2322

0 commit comments

Comments
 (0)