Skip to content

Commit d28cb86

Browse files
jardontaukakao
authored andcommitted
fix:[#450] increase exported bin scan buffer token size
1 parent 692f8d6 commit d28cb86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/subSystem.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func findExportedBinaries(internalName string) map[string]map[string]string {
8484
defer file.Close()
8585

8686
scanner := bufio.NewScanner(file)
87-
const maxTokenSize = 1024 * 1024
87+
const maxTokenSize = 1024 * 2048
8888
buf := make([]byte, maxTokenSize)
8989
scanner.Buffer(buf, maxTokenSize)
9090
for scanner.Scan() {

0 commit comments

Comments
 (0)