increate timeout for larger files
authorAlan <alan@roojs.com>
Thu, 16 Dec 2021 07:00:10 +0000 (15:00 +0800)
committerAlan <alan@roojs.com>
Thu, 16 Dec 2021 07:00:10 +0000 (15:00 +0800)
File/Convert/Solution/unoconv.php

index d3afa0a..d769db2 100644 (file)
@@ -91,7 +91,7 @@ class File_Convert_Solution_unoconv extends File_Convert_Solution
         }
         // before we used stdout -- not sure why.
         //$cmd = "$xvfb -a  $uno -f $ext --stdout " . escapeshellarg($fn) . " 1> " . escapeshellarg($target);
-        $cmd = "$timeout 30s $xvfb -a  $uno -f $ext -o " . escapeshellarg($to) . " " . escapeshellarg($from);
+        $cmd = "$timeout 1m $xvfb -a  $uno -f $ext -o " . escapeshellarg($to) . " " . escapeshellarg($from);
         ////  echo $cmd;
         
         /*