Skip to content

Commit b456709

Browse files
committed
Minor adjustments
1 parent 83afaaf commit b456709

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/utils.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,9 @@ func GetFiles(
284284
wgDir := &sync.WaitGroup{}
285285
muDir := &sync.RWMutex{}
286286

287-
// Limited goroutines to 10000
287+
// Limited goroutines to 1000
288288
// buffer is set to high to avoid deadlock
289-
max_goroutines_dir := 10000
289+
max_goroutines_dir := 1000
290290

291291
// this channel will limit the goroutine number
292292
guardDir := make(chan struct{}, max_goroutines_dir)

0 commit comments

Comments
 (0)