mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
fix: increase chunk size 10kb -> 100kb (#1652)
This commit is contained in:
1 parent
7f77987d91
commit
6018012b7e
1 file changed
+1
-1
+1
-1
@@ -22,7 +22,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
gitleaksAllowSignature = "gitleaks:allow"
|
gitleaksAllowSignature = "gitleaks:allow"
|
||||||
chunkSize = 10 * 1_000 // 10kb
|
chunkSize = 100 * 1_000 // 100kb
|
||||||
)
|
)
|
||||||
|
|
||||||
var newLineRegexp = regexp.MustCompile("\n")
|
var newLineRegexp = regexp.MustCompile("\n")
|
||||||
|
|||||||
Reference in new issue
Block a user