Commit 35feb2fea43bbb8d39071af63fa6426f25502dd5
1 parent
445350b1
Detecting rule nodes that cause timeout
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -65,7 +65,7 @@ public class TbMsgPackProcessingContext { | @@ -65,7 +65,7 @@ public class TbMsgPackProcessingContext { | ||
65 | public boolean await(long packProcessingTimeout, TimeUnit milliseconds) throws InterruptedException { | 65 | public boolean await(long packProcessingTimeout, TimeUnit milliseconds) throws InterruptedException { |
66 | boolean success = processingTimeoutLatch.await(packProcessingTimeout, milliseconds); | 66 | boolean success = processingTimeoutLatch.await(packProcessingTimeout, milliseconds); |
67 | if (!success && profilerEnabled) { | 67 | if (!success && profilerEnabled) { |
68 | - msgProfilerMap.values().forEach(TbMsgProfilerInfo::onTimeout); | 68 | + msgProfilerMap.values().forEach(this::onTimeout); |
69 | } | 69 | } |
70 | return success; | 70 | return success; |
71 | } | 71 | } |