diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2018-03-22 16:21:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-22 16:21:19 +0100 |
commit | 3163c9cb630e6314954f716c9adcd0b689abd41a (patch) | |
tree | a7b9cede1c4de72ddc7ca9ae5fa1bd1519e1ac49 /src/blocked.c | |
parent | 6c4cb1670a1f89ec3f38b67638cd76e161195358 (diff) | |
parent | fa00e20b165c5e55f437ceddde9f492cafd38143 (diff) | |
download | redis-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.c | 1 |
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. */ |