rpuch commented on code in PR #5574:
URL: https://github.com/apache/ignite-3/pull/5574#discussion_r2030951162


##########
modules/network/src/main/java/org/apache/ignite/internal/network/DefaultMessagingService.java:
##########
@@ -435,11 +440,11 @@ private void handleMessageFromNetwork(InNetworkObject 
inNetworkObject) {
             try {
                 handleStartingWithFirstHandler(payload, finalCorrelationId, 
inNetworkObject, firstHandlerContext, handlerContexts);
             } catch (Throwable e) {
-                logAndRethrowIfError(inNetworkObject, e);
+                handleAndRethrowIfError(inNetworkObject, e);
             } finally {
                 long tookMillis = 
TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startedNanos);
 
-                if (tookMillis > 100) {
+                if (tookMillis > 100 && 
IgniteSystemProperties.getBoolean(IgniteSystemProperties.LONG_HANDLING_LOGGING_ENABLED,
 false)) {

Review Comment:
   It's just a little change I had to do in another PR, but forgot to do it.
   
   Added a static import



-- 
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]

Reply via email to