Make blocking list commands send keyspace notifications

This commit is contained in:
Guy Benoish
2018-03-22 17:22:26 +07:00
parent 3a5bf75ede
commit fa00e20b16
2 changed files with 8 additions and 0 deletions

View File

@ -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. */