+ if (!isset($aResult['index-instances']))
+ {
+ if (getLoadAverage() < 18)
+ $iIndexInstances = 2;
+ else
+ $iIndexInstances = 1;
+ } else
+ $iIndexInstances = $aResult['index-instances'];
+
+ $sThisIndexCmd = $sCMDIndex.' -t '.$iIndexInstances;
+ $fCMDStartTime = time();