Метод waitForUpgradeSource
Сигнатура метода
private function waitForUpgradeSource(array &$option): bool
Возвращает:
bool
Описание
This stepper is registered by an update of bizproc, while both the upgrade map and the activity that builds the rules arrive with the update of the module owning the documents. Until that module is updated the map is empty, and finishing here would delete the agent for good - the rules would stay broken forever. So the pass waits instead of finishing, rechecking the map on a timer rather than on every agent run. The wait is bounded: on a portal where the map never appears (no such module at all) the agent has to go away on its own.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$option
|
array
|
—
|
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/Infrastructure/Stepper/TriggerApplyRulesResyncStepper.php