1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-26 20:28:40 +00:00

Update modules/actions/log.go

Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
Jason Song
2023-01-04 18:35:39 +08:00
committed by GitHub
parent 1faa8856a4
commit 66785e2450

View File

@@ -25,7 +25,7 @@ const (
DBFSPrefix = "actions_log/" DBFSPrefix = "actions_log/"
timeFormat = "2006-01-02T15:04:05.0000000Z07:00" timeFormat = "2006-01-02T15:04:05.0000000Z07:00"
defaultBufSize = 64 * 1024 defaultBufSize = MaxLineSize
) )
func WriteLogs(ctx context.Context, filename string, offset int64, rows []*runnerv1.LogRow) ([]int, error) { func WriteLogs(ctx context.Context, filename string, offset int64, rows []*runnerv1.LogRow) ([]int, error) {