Skip to content

Commit

Permalink
Decrease connection polling interval on startup
Browse files Browse the repository at this point in the history
This reduces the startup time by almost 1 second when starting MacVim
from Terminal.
  • Loading branch information
b4winckler committed Sep 13, 2008
1 parent ad6fe81 commit f6f6f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MacVim/MMBackend.m
Expand Up @@ -320,7 +320,7 @@ - (BOOL)checkin
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) {
Expand Down

0 comments on commit f6f6f2c

Please sign in to comment.