mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user