core: change select timeout to 1 for WIndows [GH-5309]

This commit is contained in:
Mitchell Hashimoto 2015-07-06 13:54:00 -06:00
parent ab27413954
commit 80ce9ab1f3
1 changed files with 1 additions and 1 deletions

View File

@ -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!