core: disable parallelization if only one action
This commit is contained in:
parent
4e90aa7824
commit
4f89bdb947
|
@ -47,6 +47,11 @@ module Vagrant
|
|||
end
|
||||
end
|
||||
|
||||
if par && @actions.length <= 1
|
||||
@logger.info("Disabling parallelization because only executing one action")
|
||||
par = false
|
||||
end
|
||||
|
||||
@logger.info("Batch action will parallelize: #{par.inspect}")
|
||||
|
||||
threads = []
|
||||
|
|
Loading…
Reference in New Issue