Skip to content

Commit

Permalink
add perf log
Browse files Browse the repository at this point in the history
  • Loading branch information
codingdie committed Nov 18, 2022
1 parent a474218 commit 4810040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/dns_record_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,6 @@ void dns_record_manager::schedule_stats() {
<< "\n" + stat.serialize() << END;
st::utils::apm_logger::perf("st-dns-stats", {}, {{"trusted_domain_count", stat.trusted_domain}, {"total_domain_count", stat.total_domain}});
});
schedule_timer.expires_from_now(boost::posix_time::seconds(60));
schedule_timer.expires_from_now(boost::posix_time::minutes(5));
schedule_timer.async_wait([this](error_code ec) { schedule_stats(); });
}

0 comments on commit 4810040

Please sign in to comment.