-
-
Notifications
You must be signed in to change notification settings - Fork 559
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
Improve API calls for Top Clients and Forward Destinations #253
Conversation
Will this add lots of extra queries to the log? |
It will add (max) 10+2 PTR requests each time. However, we will exclude |
… to check if the line includes "query" since we only collect "query" lines now
Conflicts: data.php
Hmmm, something in this PR set my I thought that was fixed in devel? |
Yes, I guess the branch was not up-to-date with |
Changes proposed in this pull request:
true
Upstream DNS servers:
API_GET_UPSTREAM_DNS_HOSTNAME
Clients:
API_GET_CLIENT_HOSTNAME
http://pi.hole/admin/api.php?getForwardDestinations
devel
: 5.8sthis PR: 3.3s
http://pi.hole/admin/api.php?getQuerySources
devel
: 15.6sthis PR: 4.6s
@pi-hole/dashboard