Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pkg/osbuild/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ func NewStatusScanner(r io.Reader) *StatusScanner {
scanner := bufio.NewScanner(r)
// osbuild can currently generate very long messages, the default
// 64kb is too small for e.g. the dracut stage (see also
// https://github.com/osbuild/osbuild/issues/1976). Increase for
// but to unblock us.
buf := make([]byte, 0, 512_000)
scanner.Buffer(buf, 512_000)
// https://github.com/osbuild/osbuild/issues/1976) and the rpm stage.
// Increase for but to unblock us.
buf := make([]byte, 0, 1024_000*16)
scanner.Buffer(buf, 1024_000*16)
return &StatusScanner{
scanner: scanner,
contextMap: make(map[string]*contextJSON),
Expand Down
Loading