Метод findDueByStates

public

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

public function findDueByStates(array $states, DateTime $dueAt, int $limit): array

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

Описание

Selects instances in the given states whose NEXT_RETRY_AT is empty or already due at $dueAt. The predicate and the order follow ix_bp_ma_instance_cleanup, so the scan stays bounded by $limit.

Параметры

3
Имя Тип По умолчанию Флаги
$states array —
—
$dueAt DateTime —
—
$limit int —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/Repository/AiAgent/ManagedAgentInstanceRepositoryInterface.php
Расположение метода в файле
Строки 44–44

Исходный код

PHP