Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
linrunqi08 committed Jun 5, 2024
1 parent 11d78e6 commit aefb0ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/processor/daemon/LogProcess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,8 @@ void* LogProcess::ProcessLoop(int32_t threadNo) {
}
}
}

// 统计信息需要放在最外面,确保Pipeline在各种条件下,都能统计到
LogFileProfiler::GetInstance()->AddProfilingData(pipeline->Name(),
pipeline->GetContext().GetRegion(),
projectName,
Expand Down

0 comments on commit aefb0ca

Please # to comment.