Sleep to avoid 100% CPU in waiting time of 'vagrant up'
This commit is contained in:
parent
673a06b54d
commit
e1abceee8c
|
@ -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