From 80ce9ab1f345037f67ff43363c81670d52801d72 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 6 Jul 2015 13:54:00 -0600 Subject: [PATCH] core: change select timeout to 1 for WIndows [GH-5309] --- lib/vagrant/util/io.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/util/io.rb b/lib/vagrant/util/io.rb index 692ece4f9..c75257b9e 100644 --- a/lib/vagrant/util/io.rb +++ b/lib/vagrant/util/io.rb @@ -25,7 +25,7 @@ module Vagrant # We have to do this since `readpartial` will actually block # until data is available, which can cause blocking forever # in some cases. - results = ::IO.select([io], nil, nil, 0.1) + results = ::IO.select([io], nil, nil, 1.0) break if !results || results[0].empty? # Read!