yyqdbngt opened a new issue, #1332:
URL: https://github.com/apache/rocketmq-dashboard/issues/1332

   ## Problem
   
   `web/src/pages/studio/BrokerCluster.tsx` installs two independent polling 
effects when auto refresh is enabled: one runs every 5 seconds and another uses 
`REFRESH_INTERVAL_MS` (2 seconds). Both invoke `loadData`, so the page performs 
duplicate cluster requests and can overlap refreshes unnecessarily.
   
   ## Expected behavior
   
   Use one auto-refresh scheduler with one documented interval, and clean it up 
when auto refresh is disabled or the page unmounts.
   
   ## Scope
   
   - remove the duplicate polling effect
   - retain the initial load and manual refresh behavior
   - add a fake-timer regression test proving only one request is scheduled per 
interval
   


-- 
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]

Reply via email to