Метод getQueueCursor
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
230–241
~/bitrix/modulesim/lib/V2/Integration/HumanResources/Sync/SyncProcessor/Base.php
Исходный код
Сигнатура метода
public function getQueueCursor(): int
Возвращает:
int
Описание
Where the next tick starts looking. The walk of one tick is bounded, so without carrying the position over a head longer than the budget would never be passed. Kept in the managed cache and not in a module option: the position is rewritten every five seconds, while an option write costs a row in b_option, a reset of the module's whole option cache and two events - paid by every request of the portal. A lost position costs one walk from the head of the queue and never an answer.