Merge branch 'unstable' of https://github.com/JohnSully/KeyDB into unstable

Former-commit-id: 18953b2998e5527260d161ce882b55a9684efab5
This commit is contained in:
John Sully 2020-11-23 02:01:54 +00:00
commit a2439842f6

View File

@ -2273,7 +2273,7 @@ static int updateMaxclients(long long val, long long prev, const char **err) {
} }
return 0; return 0;
} }
for (int iel = 0; iel < MAX_EVENT_LOOPS; ++iel) for (int iel = 0; iel < cserver.cthreads; ++iel)
{ {
if ((unsigned int) aeGetSetSize(g_pserver->rgthreadvar[iel].el) < if ((unsigned int) aeGetSetSize(g_pserver->rgthreadvar[iel].el) <
g_pserver->maxclients + CONFIG_FDSET_INCR) g_pserver->maxclients + CONFIG_FDSET_INCR)