소스 검색

fix: increase chunk size 10kb -> 100kb (#1652)

Richard Gomez 1 년 전
부모
커밋
6018012b7e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      detect/detect.go

+ 1 - 1
detect/detect.go

@@ -22,7 +22,7 @@ import (
 
 const (
 	gitleaksAllowSignature = "gitleaks:allow"
-	chunkSize              = 10 * 1_000 // 10kb
+	chunkSize              = 100 * 1_000 // 100kb
 )
 
 var newLineRegexp = regexp.MustCompile("\n")