mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-22 00:20:28 +00:00
Merge pull request #3386 from ethereum/single-process
Fallback to MODE_SINGLE_PROCESS
This commit is contained in:
commit
017a8495f7
@ -5,7 +5,7 @@ import multiprocessing
|
|||||||
MODE_SINGLE_PROCESS = 'MODE_SINGLE_PROCESS'
|
MODE_SINGLE_PROCESS = 'MODE_SINGLE_PROCESS'
|
||||||
MODE_MULTIPROCESSING = 'MODE_MULTIPROCESSING'
|
MODE_MULTIPROCESSING = 'MODE_MULTIPROCESSING'
|
||||||
# Test generator mode
|
# Test generator mode
|
||||||
GENERATOR_MODE = MODE_MULTIPROCESSING
|
GENERATOR_MODE = MODE_SINGLE_PROCESS
|
||||||
# Number of subprocesses when using MODE_MULTIPROCESSING
|
# Number of subprocesses when using MODE_MULTIPROCESSING
|
||||||
NUM_PROCESS = multiprocessing.cpu_count() // 2 - 1
|
NUM_PROCESS = multiprocessing.cpu_count() // 2 - 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user