Skip to content

Commit 41bdefe

Browse files
feat(client): expand max streaming buffer size
1 parent 5118fdf commit 41bdefe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/ssestream/ssestream.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func NewDecoder(res *http.Response) Decoder {
2929
decoder = t(res.Body)
3030
} else {
3131
scn := bufio.NewScanner(res.Body)
32-
scn.Buffer(nil, bufio.MaxScanTokenSize<<4)
32+
scn.Buffer(nil, bufio.MaxScanTokenSize<<9)
3333
decoder = &eventStreamDecoder{rc: res.Body, scn: scn}
3434
}
3535
return decoder

0 commit comments

Comments
 (0)