We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83afaaf commit b456709Copy full SHA for b456709
utils/utils.go
@@ -284,9 +284,9 @@ func GetFiles(
284
wgDir := &sync.WaitGroup{}
285
muDir := &sync.RWMutex{}
286
287
- // Limited goroutines to 10000
+ // Limited goroutines to 1000
288
// buffer is set to high to avoid deadlock
289
- max_goroutines_dir := 10000
+ max_goroutines_dir := 1000
290
291
// this channel will limit the goroutine number
292
guardDir := make(chan struct{}, max_goroutines_dir)
0 commit comments