Метод adjustRangeWidth
Сигнатура метода
private function adjustRangeWidth(float $queryDuration): void
Возвращает:
void
Описание
The width is set in units of OWNER_ID while the cost of a query is set by the number of rows the range happens to hold, and that depends on the portal, so the duration of the query is the only measure of the width that survives a change of the data or of the server. A query above the target brings the width down in proportion, so it lands on the target at once; halving took four to six turns to cross the border of a dense zone, each paid for by another query as expensive as the one that started the descent. Growth stays a doubling: the empty stretches have to be crossed quickly, and the ceiling of the phase bounds the price of overshooting.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$queryDuration
|
float
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/agent/timeline/bindcreatedbackfillagent.php