123123213weqw opened a new issue, #2495: URL: https://github.com/apache/rocketmq-dashboard/issues/2495
## Problem Resource-count tasks are submitted in parallel, but each `future.get(3s)` is then awaited sequentially. Multiple tasks that never complete make a single request wait for instance-count times 3 seconds. Location: `server/src/main/java/org/apache/rocketmq/studio/instance/InstanceService.java`. ## Expected behavior Use one shared absolute deadline (invokeAll(timeout) or a completion queue); after the deadline cancel the remaining tasks at once and mark them unavailable. ## Verification Create several never-completing providers and assert total elapsed time is close to one timeout, not count times timeout. -- 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]
