mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Streams: XADD, handle signaling of write in different ways.
This commit is contained in:
@@ -2019,6 +2019,9 @@ void xdelCommand(client *c) {
|
||||
streamParseIDOrReply(c,c->argv[j],&id,0); /* Retval already checked. */
|
||||
deleted += streamDeleteItem(s,&id);
|
||||
}
|
||||
signalModifiedKey(c->db,c->argv[1]);
|
||||
notifyKeyspaceEvent(NOTIFY_STREAM,"xdel",c->argv[1],c->db->id);
|
||||
server.dirty += deleted;
|
||||
addReplyLongLong(c,deleted);
|
||||
}
|
||||
/* XINFO CONSUMERS key group
|
||||
|
||||
Reference in New Issue
Block a user