Метод chargeUnexpectedFailure
Сигнатура метода
private function chargeUnexpectedFailure(ManagedAgentInstance $instance): ?ManagedAgentInstance
Возвращает:
?ManagedAgentInstance
Описание
Stores the stable code of an unexpected failure and charges a retry by the delays of the lifecycle service, so a record whose removal keeps throwing cannot occupy every pass. The state of the record is left untouched: NEXT_RETRY_AT is the retry deadline of a removal and the watchdog deadline of an enabling at the same time, therefore postponing it is the whole backoff either way, and no transition happens outside the named lock the failed pass has already released.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$instance
|
ManagedAgentInstance
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Infrastructure/Agent/ManagedSystemAiAgentCleanupAgent.php
Расположение метода в файле
Строки
212–240