fix: image reading
publish / publish (push) Has been cancelled

This commit is contained in:
adamdottv
2025-07-08 13:02:13 -05:00
parent d2575eea6c
commit e5dee9c760
4 changed files with 16 additions and 8 deletions
@@ -29,7 +29,7 @@ func NewDecoder(res *http.Response) Decoder {
decoder = t(res.Body)
} else {
scn := bufio.NewScanner(res.Body)
scn.Buffer(nil, bufio.MaxScanTokenSize<<4)
scn.Buffer(nil, (bufio.MaxScanTokenSize<<4)*10)
decoder = &eventStreamDecoder{rc: res.Body, scn: scn}
}
return decoder