With TLS throttle accepts if server is under heavy load - do not change non TLS behavior
This commit is contained in:
parent
dcaca5d79c
commit
914da1f62c
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user