Метод waitForUpgradeSource

private

Сигнатура метода

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 —
by-ref

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Infrastructure/Stepper/TriggerApplyRulesResyncStepper.php
Расположение метода в файле
Строки 119–133

Исходный код

PHP