zrlw commented on code in PR #15529:
URL: https://github.com/apache/dubbo/pull/15529#discussion_r2191894248


##########
dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TriplePingPongHandler.java:
##########
@@ -29,21 +30,28 @@ public class TriplePingPongHandler extends 
ChannelDuplexHandler {
 
     private final long pingAckTimeout;
 
-    private ScheduledFuture<?> pingAckTimeoutFuture;
+    private final AtomicReference<ScheduledFuture<?>> pingAckTimeoutFutureRef 
= new AtomicReference<>();

Review Comment:
   as for me, the Netty single-threaded model is: 
   1. dealing connection by single reactor thread.
   2. dealing logical process by multiple threads.



-- 
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: notifications-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to