Skip to content

Commit 087b7c6

Browse files
authored
feat: bump max buffer (#116)
1 parent f46d38d commit 087b7c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmdutil/file_input.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"os"
88
)
99

10-
const maxCapacity = 1024 * 1024 // 1MB
10+
const maxCapacity = 1024 * 5120 // 5MB
1111

1212
func ReadFile(filename string, stdin io.ReadCloser) ([]byte, error) {
1313
if filename == "-" {

0 commit comments

Comments
 (0)