From 55c03f0ede33d52e03d5fb3d3386408d758f7c79 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 27 May 2017 16:04:15 +0200 Subject: [PATCH] remove instance hack for updates Load control is now handled in the outer script. --- utils/update.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/utils/update.php b/utils/update.php index ad627482..77b76bc5 100755 --- a/utils/update.php +++ b/utils/update.php @@ -37,12 +37,7 @@ $aCMDOptions ); getCmdOpt($_SERVER['argv'], $aCMDOptions, $aResult, true, true); -if (!isset($aResult['index-instances'])) { - if (getLoadAverage() < 24) - $aResult['index-instances'] = 2; - else - $aResult['index-instances'] = 1; -} +if (!isset($aResult['index-instances'])) $aResult['index-instances'] = 1; if (!isset($aResult['index-rank'])) $aResult['index-rank'] = 0; -- 2.39.5