Skip to content

Commit 6c3c31a

Browse files
committed
fix: limit tailLines to a maximum of 500 for log content download
1 parent 516c0f7 commit 6c3c31a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/actions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ func downloadLogContent(ctx context.Context, logURL string, tailLines int, maxLi
762762
}
763763

764764
bufferSize := maxLines
765-
if tailLines > maxLines && tailLines <= 5000 {
765+
if tailLines > maxLines && tailLines <= 500 {
766766
bufferSize = tailLines
767767
}
768768

0 commit comments

Comments
 (0)