Skip to content

Commit 11169ce

Browse files
committed
Fixed wrong wait time in server.php
1 parent 8e89f8c commit 11169ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
// Check if another process is running
5555
if(is_file($conf["temppath"].$conf["fs_div"].".ispconfig_lock")){
5656
clearstatcache();
57-
for($i=0;$i<1200;$i++){ // Wait max. 1200 sec, then proceed
57+
for($i=0;$i<120;$i++){ // Wait max. 1200 sec, then proceed
5858
if(is_file($conf["temppath"].$conf["fs_div"].".ispconfig_lock")){
5959
exec("ps aux | grep '/usr/local/ispconfig/server/server.php' | grep -v 'grep' | wc -l", $check);
6060
if(intval($check[0]) > 1) { // 1 because this is 2nd instance!

0 commit comments

Comments
 (0)