eye-gu opened a new issue, #6351: URL: https://github.com/apache/shenyu/issues/6351
### Is there an existing issue for this? - [x] I have searched the existing issues ### Current Behavior https://github.com/apache/shenyu/blob/e3cf5ce54a4448ce246fba3d2bdfdb4a5e651cbd/shenyu-client/shenyu-client-core/src/main/java/org/apache/shenyu/client/core/disruptor/subcriber/ShenyuClientURIExecutorSubscriber.java#L50 ShenyuClientURIExecutorSubscriber uses a static ArrayList (Lists.newArrayList()) to hold registered URIs. This list is written to by the executor() method (called from the disruptor consumer thread), and simultaneously iterated by a scheduled heartbeat task (URIS.forEach(this::sendHeartbeat)) running on a separate ScheduledThreadPoolExecutor thread every 10 seconds. ### Expected Behavior _No response_ ### Steps To Reproduce _No response_ ### Environment ```markdown ShenYu version(s): ``` ### Debug logs _No response_ ### Anything else? _No response_ -- 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]
