fixed total events from scanned event number to actual evtx record num

This commit is contained in:
DastInDark
2022-09-05 00:15:36 +09:00
parent 95f0c2e264
commit 45f678b147

View File

@@ -569,7 +569,10 @@ impl App {
let mut tl = Timeline::new();
let mut parser = parser.unwrap();
record_cnt += &parser.records_json_value().count();
let mut records = parser.records_json_value();
loop {
let mut records_per_detect = vec![];
while records_per_detect.len() < MAX_DETECT_RECORDS {
@@ -619,8 +622,6 @@ impl App {
break;
}
record_cnt += records_per_detect.len();
let records_per_detect = self.rt.block_on(App::create_rec_infos(
records_per_detect,
&path,