Forced Refresh Every Hour?

Hi All, we have been using this code for over a year now to refresh a case queue every second. In the last month we have been having slowness issues and have narrowed it down to this forced refresh. Removing the forced refresh from the page completely resolved the slowness issues we were having. 

The slowness issues were memory related and would build up the longer they had the page up. Which seems to point to a memory leak of some sorts. 

Does anyone have any suggestions? Is there a better way to write the snippet to account for this or is a refresh every second unrealistic? 

My gut was an every second refresh is too often, but it has worked for over a year with no issues, which makes me wonder if one of the recent updates to the platform has made this version of the snippet not function as well/cause a memory leak.

Anyway, I know this is random, but any suggestions are appreciated. 

Thank you!
Adam