From 3de0aef57531494695c9e29c4b6c1778b2f2d55d Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Thu, 14 Apr 2016 10:11:03 -0400 Subject: [PATCH] sshfs_mount: reduce the time spent checking mount --- lib/vagrant-sshfs/cap/linux/sshfs_mount.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-sshfs/cap/linux/sshfs_mount.rb b/lib/vagrant-sshfs/cap/linux/sshfs_mount.rb index 866893e..f9849d6 100644 --- a/lib/vagrant-sshfs/cap/linux/sshfs_mount.rb +++ b/lib/vagrant-sshfs/cap/linux/sshfs_mount.rb @@ -162,7 +162,7 @@ def self.sshfs_slave_mount(machine, opts, hostpath, expanded_guest_path) # Check that the mount made it mounted = false - for i in 0..10 + for i in 0..6 machine.ui.info("Checking Mount..") if self.sshfs_is_folder_mounted(machine, opts) mounted = true