core: disable parallelization if only one action

This commit is contained in:
Mitchell Hashimoto 2014-02-15 16:37:27 -08:00
parent 4e90aa7824
commit 4f89bdb947
1 changed files with 5 additions and 0 deletions

View File

@ -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 = []