Skip to content

Commit e720bbe

Browse files
committed
fix(ansi): reduce parser data buffer size to 4KB
1 parent 2660367 commit e720bbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ansi/parser_sync.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var parserPool = sync.Pool{
1010
New: func() any {
1111
p := NewParser()
1212
p.SetParamsSize(parser.MaxParamsSize)
13-
p.SetDataSize(1024 * 1024 * 4) // 4MB of data buffer
13+
p.SetDataSize(1024 * 4) // 4KB of data buffer
1414
return p
1515
},
1616
}

0 commit comments

Comments
 (0)