Skip to content

Commit

Permalink
smaller buffer.
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Ortel <[email protected]>
  • Loading branch information
jortel committed Dec 19, 2024
1 parent fa44493 commit 3e8ee37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -2299,7 +2299,7 @@ func (r *LogCollector) copy(reader io.ReadCloser, writer io.Writer, ctx context.
canceled := false
readCh := make(chan []byte)
if r.nBuf < 1 {
r.nBuf = 0x8000
r.nBuf = 4096
}
go func() {
defer func() {
Expand Down

0 comments on commit 3e8ee37

Please sign in to comment.