Skip to content

Commit

Permalink
bump ffmpeg thumbnail timeout (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjh1 authored Nov 14, 2023
1 parent 151df89 commit 7e5e1fe
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)
defer cancel()
cmd := exec.CommandContext(timeout, "ffmpeg", args...)

Expand Down

0 comments on commit 7e5e1fe

Please sign in to comment.