shwstppr commented on code in PR #9840:
URL: https://github.com/apache/cloudstack/pull/9840#discussion_r1828897057


##########
utils/src/main/java/com/cloud/utils/nio/NioConnection.java:
##########
@@ -190,9 +209,25 @@ public Boolean call() throws NioConnectionException {
 
     abstract void unregisterLink(InetSocketAddress saddr);
 
+    protected boolean rejectConnectionIfBusy(final SocketChannel 
socketChannel) throws IOException {
+        if (activeAcceptConnections.get() < sslHandshakeMaxWorkers) {

Review Comment:
   Wait and retry is present at the client side (agent).
   (Although in a multi-managment server setup, the agent may end up connecting 
to a different MS in this case)



-- 
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: commits-unsubscr...@cloudstack.apache.org

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

Reply via email to