mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +00:00
Fix mismatching keyspace notification classes
This commit is contained in:
parent
643110525e
commit
6fa16f585c
@ -659,7 +659,7 @@ void georadiusGeneric(client *c, int flags) {
|
|||||||
zsetConvertToZiplistIfNeeded(zobj,maxelelen);
|
zsetConvertToZiplistIfNeeded(zobj,maxelelen);
|
||||||
setKey(c->db,storekey,zobj);
|
setKey(c->db,storekey,zobj);
|
||||||
decrRefCount(zobj);
|
decrRefCount(zobj);
|
||||||
notifyKeyspaceEvent(NOTIFY_LIST,"georadiusstore",storekey,
|
notifyKeyspaceEvent(NOTIFY_ZSET,"georadiusstore",storekey,
|
||||||
c->db->id);
|
c->db->id);
|
||||||
server.dirty += returned_items;
|
server.dirty += returned_items;
|
||||||
} else if (dbDelete(c->db,storekey)) {
|
} else if (dbDelete(c->db,storekey)) {
|
||||||
|
@ -520,7 +520,7 @@ void lremCommand(client *c) {
|
|||||||
|
|
||||||
if (removed) {
|
if (removed) {
|
||||||
signalModifiedKey(c->db,c->argv[1]);
|
signalModifiedKey(c->db,c->argv[1]);
|
||||||
notifyKeyspaceEvent(NOTIFY_GENERIC,"lrem",c->argv[1],c->db->id);
|
notifyKeyspaceEvent(NOTIFY_LIST,"lrem",c->argv[1],c->db->id);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (listTypeLength(subject) == 0) {
|
if (listTypeLength(subject) == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user