trafficmonitor init...2

This commit is contained in:
choi.jh 2025-11-12 16:01:32 +09:00
parent 07e69427cf
commit 1195c2bcd4

View File

@ -129,11 +129,11 @@ class CollectorService extends CommonService
}
// DB에 저장할 데이터를 배열로 반환
return [
'trafficinfo_uid' => $trafficEntity->getPK(),
'in' => $inKbitsSec,
'out' => $outKbitsSec,
'raw_in' => $currentInOctets,
'raw_out' => $currentOutOctets,
'trafficinfo_uid' => (int)$trafficEntity->getPK(),
'in' => (int)$inKbitsSec,
'out' => (int)$outKbitsSec,
'raw_in' => (int)$currentInOctets,
'raw_out' => (int)$currentOutOctets,
];
}
}