Commits

Jussi Hagman committed 6755744

Watcher latency even faster. now updates every 2 seconds... it does have some issues though..

Comments (0)

Files changed (1)

Source/HgRepository.m

         _changedPaths = [NSMutableSet set];
         _watcher = [[MYDirectoryWatcher alloc] initWithDirectory: _absolutePath
                                                         target: self action: @selector(_dirChanged:)];
-        _watcher.latency = 3;
+        _watcher.latency = 2;
         if( ! [_watcher start] )
             Warn(@"HgRepository: Couldn't start MYDirectoryWatcher on %@",_absolutePath);
         Log(@"Opened %@", self);