Decrease connection polling interval on startup

This reduces the startup time by almost 1 second when starting MacVim
from Terminal.
This commit is contained in:
Bjorn Winckler
2008-09-13 18:47:22 +02:00
parent ad6fe811e7
commit f6f6f2c8f8
+1 -1
View File
@@ -320,7 +320,7 @@ static NSString *MMSymlinkWarningString =
NSOrderedDescending == [timeOutDate compare:[NSDate date]])
[[NSRunLoop currentRunLoop]
runMode:NSDefaultRunLoopMode
beforeDate:[NSDate dateWithTimeIntervalSinceNow:1]];
beforeDate:[NSDate dateWithTimeIntervalSinceNow:.1]];
// NOTE: [self connection] will set 'connection' as a side-effect.
if (!connection) {