Метод continueAfterConcurrentRestore
Сигнатура метода
private function continueAfterConcurrentRestore(array $context): bool
Возвращает:
bool
Описание
A restore that another process is performing right now is not a failed attempt of this one: the invariant is being closed elsewhere, and spending an attempt on it would switch the feature off while its copy is on the way. The cycle is carried over instead - by the fast period, because the state it waits for is transient (the lock lives no longer than the session that holds it), and the window "the feature is on, there is no copy" is the very thing the ladder hurries to close.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$context
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/agent/copilot/callscoringv2bootstrapagent.php
Расположение метода в файле
Строки
274–280