Skip to content

Commit

Permalink
use 3x number of cores
Browse files Browse the repository at this point in the history
  • Loading branch information
dundee committed Mar 2, 2021
1 parent 042082c commit fcf2e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyze/dir.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type CurrentProgress struct {
Done bool
}

var concurrencyLimit chan struct{} = make(chan struct{}, 2*runtime.NumCPU())
var concurrencyLimit chan struct{} = make(chan struct{}, 3*runtime.NumCPU())

// ShouldDirBeIgnored whether path should be ignored
type ShouldDirBeIgnored func(path string) bool
Expand Down

0 comments on commit fcf2e04

Please sign in to comment.