summaryrefslogtreecommitdiff
path: root/src/blocked.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2020-03-26 13:28:39 +0100
committerantirez <antirez@gmail.com>2020-03-27 16:35:03 +0100
commit324a8c91d05023420c7f15d9ad84ba41ad9eefe3 (patch)
tree0e355a10d6e4afe5d0a31a8bbcab3f087bb0ad6f /src/blocked.c
parent8d116cc8a2b8168bdf0dd649ca933ba1b3404852 (diff)
downloadredis-324a8c91d05023420c7f15d9ad84ba41ad9eefe3.tar.gz
Precise timeouts: working initial implementation.
Diffstat (limited to 'src/blocked.c')
-rw-r--r--src/blocked.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blocked.c b/src/blocked.c
index 06aa5850e..c470cba00 100644
--- a/src/blocked.c
+++ b/src/blocked.c
@@ -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.