Detecting rule nodes that cause timeout
This commit is contained in:
parent
445350b1f8
commit
35feb2fea4
@ -65,7 +65,7 @@ public class TbMsgPackProcessingContext {
|
|||||||
public boolean await(long packProcessingTimeout, TimeUnit milliseconds) throws InterruptedException {
|
public boolean await(long packProcessingTimeout, TimeUnit milliseconds) throws InterruptedException {
|
||||||
boolean success = processingTimeoutLatch.await(packProcessingTimeout, milliseconds);
|
boolean success = processingTimeoutLatch.await(packProcessingTimeout, milliseconds);
|
||||||
if (!success && profilerEnabled) {
|
if (!success && profilerEnabled) {
|
||||||
msgProfilerMap.values().forEach(TbMsgProfilerInfo::onTimeout);
|
msgProfilerMap.values().forEach(this::onTimeout);
|
||||||
}
|
}
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user