summaryrefslogtreecommitdiff
path: root/src/blocked.c
diff options
context:
space:
mode:
authorGuy Benoish <guy.benoish@redislabs.com>2018-03-22 17:22:26 +0700
committerGuy Benoish <guy.benoish@redislabs.com>2018-03-22 17:22:26 +0700
commitfa00e20b165c5e55f437ceddde9f492cafd38143 (patch)
tree67bce0d4b6420751f6b3234528e248536ae336b3 /src/blocked.c
parent3a5bf75ede389981f1e63b305dad431c8ccc91ea (diff)
downloadredis-fa00e20b165c5e55f437ceddde9f492cafd38143.tar.gz
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 f438c3353..6fb274d4b 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. */