Skip to content

Commit

Permalink
bump ffmpeg thumbnail timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mjh1 committed Nov 14, 2023
1 parent 151df89 commit 5eaee80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/uploader.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func extractThumb(session drivers.OSSession, filename string, segment []byte) er
outFile,
}

timeout, cancel := context.WithTimeout(context.Background(), 5*time.Second)
timeout, cancel := context.WithTimeout(context.Background(), 8*time.Second)

Check warning on line 150 in core/uploader.go

View check run for this annotation

Codecov / codecov/patch

core/uploader.go#L150

Added line #L150 was not covered by tests
defer cancel()
cmd := exec.CommandContext(timeout, "ffmpeg", args...)

Expand Down

0 comments on commit 5eaee80

Please sign in to comment.