소스 검색

Merge branch 'bugfix/tmp-file-overflow' of hostbbq/hostbbq-monitoring into master

tunefish 11 달 전
부모
커밋
3336bd5f9a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      daemon/src/collector.class.ts

+ 1 - 1
daemon/src/collector.class.ts

@@ -189,7 +189,7 @@ export class Collector {
       do {
         const line = lines.shift();
 
-        if (!line) break;
+        if (!line || line.length < 3) break;
 
         const data = this.parseBufferedData(line);
         Logger.debug('[DEBUG] BufferedData:', JSON.stringify(data));