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…
Reference in New Issue