Open leizhiyuan opened 2 years ago
I feel like I can use AOP to monitor timeout threads, but I need to spend time to understand how OrderedExecutor works, if need to implement development , please assign to me
@azhsmesos Sorry for my late reply, assigned
FEATURE REQUEST
when we use OrderedExecutor, sometimes the task is slow, especially when we put the same ledgerId to one thread
now the timerRunnable will print
it is not helpful for solving some problem
maybe we can start a monitor thread, when the time of one task exceeds threshold in the thread pool. we also printStackTrace , it will be very powerful
just like https://github.com/sofastack/sofa-common-tools/blob/master/src/main/java/com/alipay/sofa/common/thread/ThreadPoolMonitorRunner.java#L102
Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?
Provide any additional detail on your proposed use case for this feature.