You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/08/09 17:02:03 UTC

[I] fix: remove the duplicate Broker Cluster auto-refresh scheduler [rocketmq-dashboard]

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: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] fix: remove the duplicate Broker Cluster auto-refresh scheduler [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #1332: fix: remove the duplicate Broker Cluster auto-refresh scheduler
URL: https://github.com/apache/rocketmq-dashboard/issues/1332


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] fix: remove the duplicate Broker Cluster auto-refresh scheduler [rocketmq-dashboard]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #1332:
URL: https://github.com/apache/rocketmq-dashboard/issues/1332#issuecomment-5237608726

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   Duplicate auto-refresh scheduler in Broker Cluster — two polling intervals running simultaneously.
   
   **Severity:** Low | **Impact:** Excessive API calls, wasted resources.
   
   No fix PR associated yet.
   
   ---
   *Automated evaluation by RockteMQ-AI*


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] fix: remove the duplicate Broker Cluster auto-refresh scheduler [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1332:
URL: https://github.com/apache/rocketmq-dashboard/issues/1332#issuecomment-5389253387

   This issue has been automatically closed because there has been no activity for 7 days. If you believe this issue is still relevant, please reopen it with updated information.


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org