1. Jussi Hagman
  2. Murky

Commits

Jussi Hagman  committed 6755744

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

  • Participants
  • Parent commits cac24ec
  • Branches default

Comments (0)

Files changed (1)

File Source/HgRepository.m

View file
         _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);