Метод isThrottled

private

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

private function isThrottled(array $row, DateTime $versionKey, int $now): bool

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

Описание

Throttling is counted inside a template version and only against a snapshot that is really stored: the interval runs from UPDATED_AT of the row, so nothing keeps a capture back once the row is gone. A stamp ahead of the local clock (skew between cluster nodes, a manual edit) is not a write time to count the interval from, so it does not hold the capture back: the next capture rewrites UPDATED_AT with the local time and the interval counts from it again. An interval of 0 turns throttling off completely.

Параметры

3
Имя Тип По умолчанию Флаги
$row array —
—
$versionKey DateTime —
—
$now int —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/Service/LastValues/CaptureService.php
Расположение метода в файле
Строки 248–259

Исходный код

PHP