Skip to content

Commit 8569d43

Browse files
authored
fix: slowSizeThreshold should be less than defaultSizeThreshold (#3225)
1 parent 604a73d commit 8569d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/fanal/walker/walk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var (
1717

1818
const (
1919
defaultSizeThreshold = int64(200) << 20 // 200MB
20-
slowSizeThreshold = int64(200) << 20 // 10KB
20+
slowSizeThreshold = int64(100) << 10 // 10KB
2121
)
2222

2323
type WalkFunc func(filePath string, info os.FileInfo, opener analyzer.Opener) error

0 commit comments

Comments
 (0)