From 9938fedd1e9c502a223f101182c74e6df6498e51 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 10 Jan 2019 15:07:04 +0000 Subject: [PATCH] fix #2501 @1.5 --- inc/ws/Util/class.ws.tools.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ws/Util/class.ws.tools.php b/inc/ws/Util/class.ws.tools.php index 72a6303aa..9855f1e00 100644 --- a/inc/ws/Util/class.ws.tools.php +++ b/inc/ws/Util/class.ws.tools.php @@ -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); -- 2.39.5