Skip to content

Commit

Permalink
Buffer dirent channel
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkw31 committed Nov 26, 2024
1 parent 0c4708a commit de37f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion walk/walk.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (w *Walker) Walk(dir string, errCB ErrorCallback) error {
dir = filepath.Clean(dir) + "/"
requestCh := make(chan *pathRequest)
sortedRequestCh := make(chan *pathRequest)
direntCh := make(chan Dirent)
direntCh := make(chan Dirent, 1<<1<<1<<1<<1<<1<<1<<1<<1<<1<<1)
flowControl := newController()
ctx, stop := context.WithCancel(context.Background())

Expand Down

0 comments on commit de37f57

Please sign in to comment.