sunkai-cai commented on code in PR #24524:
URL: https://github.com/apache/shardingsphere/pull/24524#discussion_r1137354944


##########
proxy/frontend/core/src/main/java/org/apache/shardingsphere/proxy/frontend/ShardingSphereProxy.java:
##########
@@ -111,4 +146,22 @@ private void initServerBootstrap(final ServerBootstrap 
bootstrap) {
                 .handler(new LoggingHandler(LogLevel.INFO))
                 .childHandler(new 
ServerHandlerInitializer(FrontDatabaseProtocolTypeFactory.getDatabaseType()));
     }
+    
+    private void initServerBootstrap(final ServerBootstrap bootstrap, final 
DomainSocketAddress localDomainSocketAddress) {
+        bootstrap.group(bossGroup, workerGroup)
+                .channel(EpollServerDomainSocketChannel.class)
+                .localAddress(localDomainSocketAddress)
+                .handler(new LoggingHandler(LogLevel.INFO))
+                .childHandler(new 
ServerHandlerInitializer(FrontDatabaseProtocolTypeFactory.getDatabaseType()));
+    }
+    
+    private void close() {
+        if (null != bossGroup) {

Review Comment:
   we can remove it now。



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