Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rec: rec_control top* cleanup #14825

Merged
merged 4 commits into from
Nov 8, 2024
Merged

Conversation

omoerbeek
Copy link
Member

Short description

Fixes #13066 while there.

Checklist

I have:

  • read the CONTRIBUTING.md document
  • compiled this code
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

@omoerbeek omoerbeek added the rec label Nov 6, 2024
@omoerbeek omoerbeek added this to the rec-5.2.0 milestone Nov 6, 2024
@coveralls
Copy link

Pull Request Test Coverage Report for Build 11700203074

Details

  • 0 of 41 (0.0%) changed or added relevant lines in 1 file are covered.
  • 40 unchanged lines in 10 files lost coverage.
  • Overall coverage increased (+0.007%) to 64.683%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pdns/recursordist/rec_channel_rec.cc 0 41 0.0%
Files with Coverage Reduction New Missed Lines %
pdns/recursordist/syncres.cc 1 79.42%
pdns/pollmplexer.cc 1 83.66%
pdns/recursordist/rec_channel_rec.cc 2 32.63%
pdns/signingpipe.cc 2 87.4%
pdns/recursordist/aggressive_nsec.cc 2 66.32%
pdns/ws-auth.cc 2 80.8%
pdns/misc.cc 4 63.71%
pdns/recursordist/test-syncres_cc1.cc 6 89.59%
pdns/dnsdistdist/dnsdist-carbon.cc 6 62.16%
pdns/recursordist/rec-system-resolve.cc 14 43.87%
Totals Coverage Status
Change from base Build 11699898690: 0.007%
Covered Lines: 125761
Relevant Lines: 163573

💛 - Coveralls

}
ret << '\n'
<< fmt % (100.0 * (total - accounted) / total) % "rest";
for (auto i = rcounts.rbegin(); i != rcounts.rend() && limit < 20; ++i, ++limit) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised clang-tidy doesn't scream at this i variable name.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pdns/recursordist/rec_channel_rec.cc Show resolved Hide resolved
@omoerbeek omoerbeek merged commit 94410a1 into PowerDNS:master Nov 8, 2024
78 checks passed
@omoerbeek omoerbeek deleted the rec-top-cleanup branch November 8, 2024 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Output for top-remotes for 0 entries is poor
3 participants