From 9a8edaf2c58efe060767639e48802a2cf14f4b2f Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Wed, 3 Aug 2022 09:05:32 +0200
Subject: [PATCH] set timeout on build action

---
 public_html/deployment/pages/act_build.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/public_html/deployment/pages/act_build.php b/public_html/deployment/pages/act_build.php
index ca11ba0c..2dab289d 100644
--- a/public_html/deployment/pages/act_build.php
+++ b/public_html/deployment/pages/act_build.php
@@ -14,6 +14,7 @@
 
 require_once("./classes/project.class.php");
 require_once("./classes/formgen.class.php");
+set_time_limit(0);
 
 // --- Checks
 $oPrj = new project($aParams["prj"]);
@@ -158,7 +159,7 @@ if (!array_key_exists("confirm", $aParams)) {
     
     $sOut.= '<div id="' . $sDivname . '"></div>'
             . '<script>
-                    var iRepeat=3000;
+                    var iRepeat=2000;
                     
                     // start build process
                     $.post( "' . $sUrlStartAction . '", function( data ) {
-- 
GitLab