From a96052a172bf497431f07c15d9712a161381acd1 Mon Sep 17 00:00:00 2001 From: kirari04 Date: Tue, 23 Jan 2024 08:53:10 +0100 Subject: [PATCH] increased ffprobe timeout --- logic/CreateFile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/CreateFile.go b/logic/CreateFile.go index c08f1a2..4c005df 100755 --- a/logic/CreateFile.go +++ b/logic/CreateFile.go @@ -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