trafficmonitor init...2
This commit is contained in:
parent
07e69427cf
commit
1195c2bcd4
@ -129,11 +129,11 @@ class CollectorService extends CommonService
|
|||||||
}
|
}
|
||||||
// DB에 저장할 데이터를 배열로 반환
|
// DB에 저장할 데이터를 배열로 반환
|
||||||
return [
|
return [
|
||||||
'trafficinfo_uid' => $trafficEntity->getPK(),
|
'trafficinfo_uid' => (int)$trafficEntity->getPK(),
|
||||||
'in' => $inKbitsSec,
|
'in' => (int)$inKbitsSec,
|
||||||
'out' => $outKbitsSec,
|
'out' => (int)$outKbitsSec,
|
||||||
'raw_in' => $currentInOctets,
|
'raw_in' => (int)$currentInOctets,
|
||||||
'raw_out' => $currentOutOctets,
|
'raw_out' => (int)$currentOutOctets,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user