Addressing PR comments
Former-commit-id: 63e5d00bdfdb054353c7f3fb7a5890d98e7a7f92
This commit is contained in:
parent
877f94734c
commit
b09730b4e2
@ -2273,8 +2273,8 @@ static int updateMaxclients(long long val, long long prev, const char **err) {
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
/* Change the SetSize for the current thread first.
|
||||
* If any error, return the error message to the client, otherwise, continue to do the same for other threads */
|
||||
/* Change the SetSize for the current thread first. If any error, return the error message to the client,
|
||||
* otherwise, continue to do the same for other threads */
|
||||
if ((unsigned int) aeGetSetSize(aeGetCurrentEventLoop()) <
|
||||
g_pserver->maxclients + CONFIG_FDSET_INCR)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user