Skip to content

Commit

Permalink
Fuck readdir throttling.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Apr 3, 2019
1 parent c949c43 commit c8b50e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/nodefs-handler.js
Expand Up @@ -398,8 +398,8 @@ _handleDir(dir, stats, initialAdd, depth, target, wh, callback) {
directory = sysPath.join(directory, '');

if (!wh.hasGlob) {
throttler = this.fsw._throttle('readdir', directory, 1000);
if (!throttler) return;
// throttler = this.fsw._throttle('readdir', directory, 1000);
// if (!throttler) return;
}

const previous = this.fsw._getWatchedDir(wh.path);
Expand Down

0 comments on commit c8b50e6

Please sign in to comment.