CORES needs to be a integer

上级 f945d157
......@@ -39,7 +39,7 @@ class ParallelEach
include Enumerable
# default to 2 cores
CORES = ENV['TEST_CORES'] || 2
CORES = ENV['TEST_CORES'].to_i || 2
def initialize list
@list = list
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册