Compare commits

..

No commits in common. "90b9eb9f5bed8f77b07ae9a6f9a4893e45741538" and "194ac35d304387cfe4cc46eb2d668f2f6c4f4f7c" have entirely different histories.

View File

@ -32,7 +32,7 @@ class CollectorService extends CommonService
'title_field' => $this->model->getTitleField(),
'table' => $this->model->getTable(),
'useAutoIncrement' => $this->model->useAutoIncrement(),
'class_path' => $this->getClassPaths(false),
'class_path' => $this->getClassPaths(false)
]);
}
return $this->formServiceInstance;
@ -46,7 +46,7 @@ class CollectorService extends CommonService
'title_field' => $this->model->getTitleField(),
'table' => $this->model->getTable(),
'useAutoIncrement' => $this->model->useAutoIncrement(),
'class_path' => $this->getClassPaths(false),
'class_path' => $this->getClassPaths(false)
]);
}
return $this->helperInstance;
@ -104,7 +104,7 @@ class CollectorService extends CommonService
if ($currentInOctets === null || $currentOutOctets === null) {
$message = "트래픽 수집 실패: {$trafficEntity->getIP()} - IF{$trafficEntity->getInterface()} (UID: {$trafficEntity->getPK()})";
log_message('warning', $message);
throw new \Exception($message);
throw new Exception($message);
}
// 이전 데이터를 조회하여 Rate 계산에 사용
@ -161,5 +161,4 @@ class CollectorService extends CommonService
'raw_in' => (int)$currentInOctets,
'raw_out' => (int)$currentOutOctets,
];
}
}