Skip to content

Commit

Permalink
[fixes #45583393] Paralellize destruction of compilation VMs
Browse files Browse the repository at this point in the history
  • Loading branch information
oppegard committed Mar 20, 2013
1 parent a23347e commit 2d123ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion director/lib/director/package_compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,10 @@ def compile_packages
# happen until everything was done compiling.
if @deployment_plan.compilation.reuse_compilation_vms
@vm_reuser.each do |vm_data|
tear_down_vm(vm_data)
pool.process { tear_down_vm(vm_data) }
end

pool.wait
end
end
end
Expand Down

0 comments on commit 2d123ad

Please sign in to comment.