Skip to content

Commit

Permalink
fix: ansi: correct the buffer size for the parser
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Oct 21, 2024
1 parent f2394f7 commit 8140f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansi/parser_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

var parserPool = sync.Pool{
New: func() any {
return NewParser(parser.MaxParamsSize, 1024*4) // 4MB data buffer
return NewParser(parser.MaxParamsSize, 1024*1024*4) // 4MB of data buffer
},
}

Expand Down

0 comments on commit 8140f28

Please sign in to comment.