Fix minddata monitoring bug

This commit is contained in:
anthonyaje 2020-08-11 10:56:19 -04:00
parent 9ad82f79fd
commit 2e804f2297
1 changed files with 1 additions and 1 deletions

View File

@ -38,8 +38,8 @@ Status Monitor::operator()() {
while (!this_thread::is_interrupted() && !(tree_->isFinished())) {
for (auto &node : tree_->GetProfilingManager()->GetSamplingNodes()) {
RETURN_IF_NOT_OK(node.second->Sample());
std::this_thread::sleep_for(std::chrono::milliseconds(sampling_interval_));
}
std::this_thread::sleep_for(std::chrono::milliseconds(sampling_interval_));
}
// Output all profiling data upon request.