Skip to content

Commit

Permalink
increased ffprobe timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirari04 committed Jan 23, 2024
1 parent f28db92 commit a96052a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logic/CreateFile.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func CreateFile(fromFile *string, toFolder uint, fileName string, fileId string,
}

// ffprobe context
ctx, cancelFn := context.WithTimeout(context.Background(), 5*time.Second)
ctx, cancelFn := context.WithTimeout(context.Background(), 30*time.Second)
defer cancelFn()

// probe file
Expand Down

0 comments on commit a96052a

Please sign in to comment.