Aias00 opened a new issue, #1834: URL: https://github.com/apache/rocketmq-dashboard/issues/1834
## Problem The Studio Broker Cluster and Consumer Group pages continue their automatic runtime polling while the browser document is hidden: - `web/src/pages/studio/BrokerCluster.tsx:229-236` - `web/src/pages/studio/GroupManagement.tsx:124-131` The current intervals invoke their remote list operations every two seconds regardless of `document.visibilityState`. ## Impact Background tabs keep generating NameServer/Broker requests, backend work, and browser updates that cannot be observed by the operator. Multiple hidden Studio tabs amplify that avoidable load. ## Expected behavior - Skip scheduled polling while the document is hidden. - Perform one immediate refresh when the document becomes visible again. - Continue the configured interval while visible. - Preserve initial loading, manual refresh, request ordering, and in-flight request coalescing. - Remove visibility listeners and timers when polling is disabled or the page unmounts. ## Scope A shared visibility-aware polling hook, the two Studio runtime pages, and focused fake-timer regression tests. ## Existing issue / PR check Issues #1332 and #1341 addressed duplicate schedulers and overlapping requests. PR #1381 implemented those fixes. No existing issue or pull request was found for pausing these pollers according to document visibility. ## Track Track 1 / AI-Native unified control plane / runtime operations efficiency. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
