Метод dequeueStuckItems

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

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

Путь к исходному файлу строки 168–173
~/bitrix/modulesim/lib/V2/Integration/HumanResources/Sync/SyncProcessor/Base.php

Исходный код

PHP
protected

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

protected function dequeueStuckItems(int $afterId = 0): array

Возвращает: array

Описание

A process killed mid-iteration leaves its item locked: nothing clears the flag on the way out, and without age the item would stay invisible forever. Asked by one return delay instead of four, and only when the page above found nothing at all.

Параметры

1
Имя Тип По умолчанию Флаги
$afterId int 0
-