Precise timeouts: use only radix tree for timeouts.

This commit is contained in:
antirez
2020-03-26 16:02:26 +01:00
parent 077f965426
commit aa9d92d94a
3 changed files with 15 additions and 38 deletions

View File

@ -111,7 +111,7 @@ void blockClient(client *c, int btype) {
c->btype = btype;
server.blocked_clients++;
server.blocked_clients_by_type[btype]++;
addClientToShortTimeoutTable(c);
addClientToTimeoutTable(c);
}
/* This function is called in the beforeSleep() function of the event loop