Skip to content

Commit

Permalink
increase max buffer size in json lines valid check
Browse files Browse the repository at this point in the history
  • Loading branch information
noahgorstein committed Jun 7, 2024
1 parent a426c37 commit 81d357a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tui/utils/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func IsValidJSON(input []byte) error {
}

func IsValidJSONLines(input []byte) error {
maxBufferSize := 10 * 1024 * 1024 // 10MB
maxBufferSize := 100 * 1024 * 1024 // 100MB
err := ScanLinesWithDynamicBufferSize(input, maxBufferSize, IsValidJSON)
if err != nil {
return err
Expand Down

0 comments on commit 81d357a

Please sign in to comment.