Precise timeouts: working initial implementation.

This commit is contained in:
antirez
2020-03-26 13:28:39 +01:00
parent 8d116cc8a2
commit 324a8c91d0
3 changed files with 110 additions and 28 deletions

View File

@ -619,6 +619,7 @@ void blockForKeys(client *c, int btype, robj **keys, int numkeys, mstime_t timeo
listAddNodeTail(l,c);
}
blockClient(c,btype);
addClientToShortTimeoutTable(c);
}
/* Unblock a client that's waiting in a blocking operation such as BLPOP.