trafficmonitor init...2
This commit is contained in:
parent
271cbdc698
commit
593e6ba0e9
@ -56,8 +56,8 @@ class CollectorModel extends CommonModel
|
|||||||
if ($total === 0) {
|
if ($total === 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
// 2) index = floor(total * 0.95) + 1
|
// 2) index = floor(total * 0.95)
|
||||||
$index = floor($total * 0.95) + 1;
|
$index = floor($total * 0.95);
|
||||||
// 3) 95% + 1 번째 값 조회
|
// 3) 95% + 1 번째 값 조회
|
||||||
$builder = $this->builder();
|
$builder = $this->builder();
|
||||||
$builder->select($field)
|
$builder->select($field)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user