bschuchardt commented on a change in pull request #5987:
URL: https://github.com/apache/geode/pull/5987#discussion_r572437655



##########
File path: 
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/ServerConnection.java
##########
@@ -1412,11 +1412,19 @@ public boolean cleanup() {
       getAcceptor().decClientServerConnectionCount();
     }
 
-    try {
-      theSocket.close();
-    } catch (Exception ignored) {
-    }
+    if (!theSocket.isClosed()) {
+      final String closerName =
+          communicationMode.isWAN() ? "WANSocketCloser" : 
"CacheServerSocketCloser";

Review comment:
       comments added.  I don't want cache shutdown to use a different executor 
for each remote address.  There could be hundreds of them.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to