summaryrefslogtreecommitdiff
path: root/src/blocked.c
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2018-03-22 16:21:19 +0100
committerGitHub <noreply@github.com>2018-03-22 16:21:19 +0100
commit3163c9cb630e6314954f716c9adcd0b689abd41a (patch)
treea7b9cede1c4de72ddc7ca9ae5fa1bd1519e1ac49 /src/blocked.c
parent6c4cb1670a1f89ec3f38b67638cd76e161195358 (diff)
parentfa00e20b165c5e55f437ceddde9f492cafd38143 (diff)
downloadredis-3163c9cb630e6314954f716c9adcd0b689abd41a.tar.gz
Merge pull request #4781 from guybe7/block_list_notify
Make blocking list commands send keyspace notifications
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 23142d1d1..1d59ee16a 100644
--- a/src/blocked.c
+++ b/src/blocked.c
@@ -283,6 +283,7 @@ void handleClientsBlockedOnKeys(void) {
if (listTypeLength(o) == 0) {
dbDelete(rl->db,rl->key);
+ notifyKeyspaceEvent(NOTIFY_GENERIC,"del",rl->key,rl->db->id);
}
/* We don't call signalModifiedKey() as it was already called
* when an element was pushed on the list. */