Метод reportStuckInstance

private

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

private function reportStuckInstance(?ManagedAgentInstance $stored, int $retryCountBefore): void

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

Описание

Warns about an instance whose removal keeps failing, at the tenth charged retry and every {@see self::STUCK_RETRY_PERIOD} retries after it. Only a pass that really charged a retry is counted - a failure or a blocked continuation: a busy record and a bounded portion of work leave the counter alone, and confirmed progress resets it.

Параметры

2
Имя Тип По умолчанию Флаги
$stored ?ManagedAgentInstance —
—
$retryCountBefore int —
—

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

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

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

Исходный код

PHP