Commit 04727e81b433857382655c52b9be005b34bbb88a
Committed by
Andrew Shvayka
1 parent
2ea2b57f
Detecting rule nodes that cause timeout
(cherry picked from commit 35feb2fe)
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 | } |