mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
Cron parallelization - change configuration param
Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
This commit is contained in:
@@ -175,7 +175,7 @@ function CronExec($oP, $bVerbose, $bDebug = false)
|
||||
$iMaxDuration = MetaModel::GetConfig()->Get('cron_max_execution_time');
|
||||
$iTimeLimit = $iStarted + $iMaxDuration;
|
||||
$iCronSleep = MetaModel::GetConfig()->Get('cron_sleep');
|
||||
$iMaxCronProcess = MetaModel::GetConfig()->Get('cron.max_process');
|
||||
$iMaxCronProcess = MetaModel::GetConfig()->Get('cron.max_processes');
|
||||
|
||||
if ($bVerbose) {
|
||||
$oP->p("Planned duration = $iMaxDuration seconds");
|
||||
|
||||
Reference in New Issue
Block a user