Remove parallelism for now. Caused too many issues with too little benefit.

This commit is contained in:
Mitchell Hashimoto 2010-05-22 15:43:27 -07:00
parent dcbf70b91d
commit 156149824d
2 changed files with 4 additions and 6 deletions

View File

@ -105,14 +105,9 @@ module Vagrant
if args[0] if args[0]
send(single_method, args[0]) send(single_method, args[0])
else else
threads = []
env.vms.keys.each do |name| env.vms.keys.each do |name|
threads << Thread.new do send(single_method, name)
send(single_method, name)
end
end end
threads.each { |t| t.join }
end end
end end

View File

@ -71,6 +71,7 @@ Gem::Specification.new do |s|
"lib/vagrant/commands/halt.rb", "lib/vagrant/commands/halt.rb",
"lib/vagrant/commands/init.rb", "lib/vagrant/commands/init.rb",
"lib/vagrant/commands/package.rb", "lib/vagrant/commands/package.rb",
"lib/vagrant/commands/provision.rb",
"lib/vagrant/commands/reload.rb", "lib/vagrant/commands/reload.rb",
"lib/vagrant/commands/resume.rb", "lib/vagrant/commands/resume.rb",
"lib/vagrant/commands/ssh.rb", "lib/vagrant/commands/ssh.rb",
@ -146,6 +147,7 @@ Gem::Specification.new do |s|
"test/vagrant/commands/halt_test.rb", "test/vagrant/commands/halt_test.rb",
"test/vagrant/commands/init_test.rb", "test/vagrant/commands/init_test.rb",
"test/vagrant/commands/package_test.rb", "test/vagrant/commands/package_test.rb",
"test/vagrant/commands/provision_test.rb",
"test/vagrant/commands/reload_test.rb", "test/vagrant/commands/reload_test.rb",
"test/vagrant/commands/resume_test.rb", "test/vagrant/commands/resume_test.rb",
"test/vagrant/commands/ssh_config_test.rb", "test/vagrant/commands/ssh_config_test.rb",
@ -231,6 +233,7 @@ Gem::Specification.new do |s|
"test/vagrant/commands/box/add_test.rb", "test/vagrant/commands/box/add_test.rb",
"test/vagrant/commands/box/list_test.rb", "test/vagrant/commands/box/list_test.rb",
"test/vagrant/commands/up_test.rb", "test/vagrant/commands/up_test.rb",
"test/vagrant/commands/provision_test.rb",
"test/vagrant/commands/resume_test.rb", "test/vagrant/commands/resume_test.rb",
"test/vagrant/commands/ssh_test.rb", "test/vagrant/commands/ssh_test.rb",
"test/vagrant/resource_logger_test.rb", "test/vagrant/resource_logger_test.rb",