Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Use provided timeoutMS

Manav Rathi0949f3263825
diff --git a/desktop/src/main/services/ffmpeg.ts b/desktop/src/main/services/ffmpeg.ts
index 0a5c4eed2c..6b1171459f 100644
--- a/desktop/src/main/services/ffmpeg.ts
+++ b/desktop/src/main/services/ffmpeg.ts
@@ -69,7 +69,7 @@ export const ffmpegExec = async (
outputFilePath,
);
- if (timeoutMS) await withTimeout(execAsync(cmd), 30 * 1000);
+ if (timeoutMS) await withTimeout(execAsync(cmd), timeoutMS);
else await execAsync(cmd);
return fs.readFile(outputFilePath);