trafficmonitor init...2

This commit is contained in:
최준흠 2025-11-28 09:00:41 +09:00
parent 271cbdc698
commit 593e6ba0e9

View File

@ -56,8 +56,8 @@ class CollectorModel extends CommonModel
if ($total === 0) {
return null;
}
// 2) index = floor(total * 0.95) + 1
$index = floor($total * 0.95) + 1;
// 2) index = floor(total * 0.95)
$index = floor($total * 0.95);
// 3) 95% + 1 번째 값 조회
$builder = $this->builder();
$builder->select($field)