Merge pull request #2401 from txchen/master
core: sleep to avoid 100% CPU in waiting time of 'vagrant up'
This commit is contained in:
commit
5515063186
|
@ -52,6 +52,7 @@ module Vagrant
|
|||
# Wait for a result or an interrupt
|
||||
env[:ui].info I18n.t("vagrant.boot_waiting")
|
||||
while ready_thr.alive? && states_thr.alive?
|
||||
sleep 1
|
||||
return if env[:interrupted]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue