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

Fix the graphics time range when maxHistory is different than 86400s (24h) #3255

Closed
rdwebdesign opened this issue Feb 24, 2025 · 0 comments · Fixed by #3256
Closed

Fix the graphics time range when maxHistory is different than 86400s (24h) #3255

rdwebdesign opened this issue Feb 24, 2025 · 0 comments · Fixed by #3256

Comments

@rdwebdesign
Copy link
Member

In v5 dashboard the graphics range was limited to match MAXLOGAGE.
This was done in #2585, but we never ported this behavior to v6.

Currently the range is hard-coded as 24h.
Example:

web/index.lp

Line 85 in 42e7279

<h3 class="box-title">Total queries over last 24 hours</h3>

And apparently the webserver.maxHistory option is not applied to the web interface at all.

This issue was reported on Discourse:
https://discourse.pi-hole.net/t/pihole-v6-dbimport-and-graph-on-dasboard/76718

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant