Refresh items status only when browser window is active
I always forget to close the heimdall tab,So it just continue refresh in background.
We just want to see status of items when we at the heimdall tab, so it's unnecessary to refresh them in background.
I have this same issue, it actually has undesirable effects if your DNS server is not up to the task. If I leave Heimdall open, I get ~7k requests in a 10-minute window, and it can break other applications' ability to successfully resolve. I'm using PiHole in a reasonable beefy VM for reference.
I just found this issue after I searched trying to figure out why my dns server was getting spammed by hundreds of dns queries per minute from heimdall. It even seems to be sending dns queries for apps that I have completely deleted from the dashboard.
It seems that there was same issus and already fixed. https://github.com/linuxserver/Heimdall/issues/330
@mcondren @palmergw
I would like to suggest that this has re-broken then, @qcgzxw. If this was fixed in 2019, then it's definitely reproducible now, whether or not it's the same root cause. If a browser is left open with Heimdall in the foreground, it generates and unreal amount of DNS queries. Perhaps the OP does not simply mean active in the sense that the tab has focus, but active as in being used actively?
It has caused me enough trouble that I'd like to be able to reduce polling rate, or for the page to know I haven't interacted with it in 5 minutes and to slow down or stop polling.
I would like to suggest that this has re-broken then, @qcgzxw. If this was fixed in 2019, then it's definitely reproducible now, whether or not it's the same root cause. If a browser is left open with Heimdall in the foreground, it generates and unreal amount of DNS queries. Perhaps the OP does not simply mean active in the sense that the tab has focus, but active as in being used actively?
It has caused me enough trouble that I'd like to be able to reduce polling rate, or for the page to know I haven't interacted with it in 5 minutes and to slow down or stop polling.
I don't know how to make it happen again. It used to bother me because of the dns querying thing,but now this issue didn't occur.
I would like to suggest that this has re-broken then, @qcgzxw. If this was fixed in 2019, then it's definitely reproducible now, whether or not it's the same root cause. If a browser is left open with Heimdall in the foreground, it generates and unreal amount of DNS queries. Perhaps the OP does not simply mean active in the sense that the tab has focus, but active as in being used actively? It has caused me enough trouble that I'd like to be able to reduce polling rate, or for the page to know I haven't interacted with it in 5 minutes and to slow down or stop polling.
I don't know how to make it happen again. It used to bother me because of the dns querying thing,but now this issue didn't occur.
I don't know how to not make it happen. My internal DNS is getting hammered and Heimdall is pokey. What do you need to reopen this?
So i cant make this happen, im using firefox, tested when changing tab making heimdall lose focus and dont querying anything. What browser you are using? Im thinking that the browser keep marking not focused tab as active or behaviour that mimick that.
So i cant make this happen, im using firefox, tested when changing tab making heimdall lose focus and dont querying anything. What browser you are using? Im thinking that the browser keep marking not focused tab as active or behaviour that mimick that.
Now I can see the issue.This application is running background if there is an unclosed brower tab.

docker stats heimdall
Can confirm this is happening to me as well. Could potentially be related to Portainer tile getting locked out due to rate limiting when anything else is already spinning.
I'm seeing 0% in docker stats when no tabs are open and steady alternating 0% and 24% CPU utilization with a tab open. When Portainer tile was enabled w/ API, and failing, it looked like it was causing the entire check loop to start over immediately. Now that I've disabled it, my Homebridge status check is happening once a second which seems to be why the docker stats output cycles between 0% and 24%.
I think I wasn't aware how frequently some of these tiles updated. They also look to be configured to check at different intervals independent of each other as my Homebridge tile appears to check far more frequently than my other tiles.
This should be fixed with https://github.com/linuxserver/Heimdall/pull/1059