Метод deferNextRun
Сигнатура метода
private function deferNextRun(int $recheckTime): void
Возвращает:
void
Описание
The agent is registered with a one second interval, so an idle pass would be repeated every second for the whole hour it has nothing to do. The scheduler takes the next run time from the period the agent leaves behind. The base Stepper overwrites that period with its own delay only on a pass longer than Stepper::THRESHOLD_TIME, and the next pass, an early return, restores the rest of the deferral.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$recheckTime
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Infrastructure/Stepper/TriggerApplyRulesResyncStepper.php
Расположение метода в файле
Строки
144–149