Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
Merge pull request #127 from juanjux/fix/increasebuffer
Browse files Browse the repository at this point in the history
Increase JSON decoder buffer size to 4Mb
  • Loading branch information
smola committed Jun 15, 2017
2 parents 78dcc13 + f13f33f commit df3e0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/jsonlines/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const (
// DefaultBufferSize is the default buffer size for decoding. It will
// be used whenever the given reader is not buffered.
DefaultBufferSize = 1024 * 1024
DefaultBufferSize = 1024 * 1024 * 4
)

type lineReader interface {
Expand Down

0 comments on commit df3e0da

Please sign in to comment.