With TLS throttle accepts if server is under heavy load - do not change non TLS behavior

This commit is contained in:
John Sully 2022-04-18 23:07:36 +00:00
parent dcaca5d79c
commit 914da1f62c

View File

@ -1405,6 +1405,8 @@ void acceptTLSHandler(aeEventLoop *el, int fd, void *privdata, int mask) {
serverLog(LL_VERBOSE,"Accepted %s:%d", cip, cport);
acceptOnThread(connCreateAcceptedTLS(cfd, g_pserver->tls_auth_clients), 0, cip);
if (aeLockContention() >= 2)
break;
}
}