Compare commits
2 Commits
194ac35d30
...
90b9eb9f5b
| Author | SHA1 | Date | |
|---|---|---|---|
| 90b9eb9f5b | |||
| d1d29e2a2e |
@ -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,4 +161,5 @@ class CollectorService extends CommonService
|
||||
'raw_in' => (int)$currentInOctets,
|
||||
'raw_out' => (int)$currentOutOctets,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user