]> _ Git - cubeextranet.git/commitdiff
fix #2501 @1.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 10 Jan 2019 15:07:04 +0000 (15:07 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 10 Jan 2019 15:07:04 +0000 (15:07 +0000)
inc/ws/Util/class.ws.tools.php

index 72a6303aaa98a2ff2e99d05991ffb952e7fa4e35..9855f1e0087c22cdc5ef4fa4038eb8ea9c1765eb 100644 (file)
@@ -170,7 +170,7 @@ class wsTools
                        $originalexpired;
 
                if ($optimize) {
-                       $cmd = "timeout -s 1 20 /usr/local/bin/svgcleaner --allow-bigger-file --paths-coordinates-precision 3 --copy-on-error --stdout $original";
+                       $cmd = "timeout -s 1 120 /usr/local/bin/svgcleaner --allow-bigger-file --paths-coordinates-precision 3 --copy-on-error --stdout $original";
                        $svg = `$cmd`;
                        if ($svg == '') {
                                $svg = file_get_contents($original);