Skip to content

Commit 8e6fa55

Browse files
committed
fix: bump mpdecimate modet timeout
1 parent 9f6a7a5 commit 8e6fa55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ func motionTimeline(ctx context.Context, fpath string) ([]motion, error) {
10561056
// }
10571057

10581058
// todo: this works better for motion detection imo, but it is heavy
1059-
motionCtx, motionCancel := context.WithTimeout(ctx, time.Minute)
1059+
motionCtx, motionCancel := context.WithTimeout(ctx, 3*time.Minute)
10601060
defer motionCancel()
10611061
ffmpeg := exec.CommandContext(
10621062
motionCtx,

0 commit comments

Comments
 (0)