Skip to content
Snippets Groups Projects
Commit c30aaf59 authored by tbrehm's avatar tbrehm
Browse files

Set wait time in server.php to 1200 seconds.

parent 40f256be
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ if($server_db_record == false) { ...@@ -54,7 +54,7 @@ if($server_db_record == false) {
// Check if another process is running // Check if another process is running
if(is_file($conf["temppath"].$conf["fs_div"].".ispconfig_lock")){ if(is_file($conf["temppath"].$conf["fs_div"].".ispconfig_lock")){
clearstatcache(); clearstatcache();
for($i=0;$i<120;$i++){ // Wait max. 1200 sec, then proceed for($i=0;$i<1200;$i++){ // Wait max. 1200 sec, then proceed
if(is_file($conf["temppath"].$conf["fs_div"].".ispconfig_lock")){ if(is_file($conf["temppath"].$conf["fs_div"].".ispconfig_lock")){
$app->log("There is already a lockfile set. Waiting another 10 seconds...", LOGLEVEL_DEBUG); $app->log("There is already a lockfile set. Waiting another 10 seconds...", LOGLEVEL_DEBUG);
sleep(10); sleep(10);
...@@ -127,4 +127,4 @@ $app->log("Remove Lock: ".$conf["temppath"].$conf["fs_div"].".ispconfig_lock",LO ...@@ -127,4 +127,4 @@ $app->log("Remove Lock: ".$conf["temppath"].$conf["fs_div"].".ispconfig_lock",LO
die("finished.\n"); die("finished.\n");
?> ?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment