Get rid of arbitrary 4 second sleep for SSH

This commit is contained in:
Mitchell Hashimoto 2013-04-16 13:50:02 -07:00
parent 43c14dfb26
commit 8322f20f4b
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,10 @@
## 1.2.1 (unreleased)
IMPROVEMENTS:
- Get rid of arbitrary 4 second sleep when connecting via SSH. The
issue it was attempting to work around may be gone now.
BUG FIXES:
- Chef solo run list properly set. [GH-1608]

View File

@ -238,11 +238,6 @@ module VagrantPlugins
@connection = connection
# This is hacky but actually helps with some issues where
# Net::SSH is simply not robust enough to handle... see
# issue #391, #455, etc.
sleep 4
# Yield the connection that is ready to be used and
# return the value of the block
return yield connection if block_given?