summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Benoish <guy.benoish@redislabs.com>2019-03-14 12:11:16 +0100
committerantirez <antirez@gmail.com>2019-03-14 12:30:41 +0100
commit6fa16f585c579b92577e3207f14fdab0a6830b69 (patch)
tree85d9e6bb5aeafbf5af53705c2d9fcb3a9599e5ea
parent643110525e1388dca36097d0be6d48a5021e59e1 (diff)
downloadredis-6fa16f585c579b92577e3207f14fdab0a6830b69.tar.gz
Fix mismatching keyspace notification classes
-rw-r--r--src/geo.c2
-rw-r--r--src/t_list.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/geo.c b/src/geo.c
index 90216e7dd..4b4bf923e 100644
--- a/src/geo.c
+++ b/src/geo.c
@@ -659,7 +659,7 @@ void georadiusGeneric(client *c, int flags) {
zsetConvertToZiplistIfNeeded(zobj,maxelelen);
setKey(c->db,storekey,zobj);
decrRefCount(zobj);
- notifyKeyspaceEvent(NOTIFY_LIST,"georadiusstore",storekey,
+ notifyKeyspaceEvent(NOTIFY_ZSET,"georadiusstore",storekey,
c->db->id);
server.dirty += returned_items;
} else if (dbDelete(c->db,storekey)) {
diff --git a/src/t_list.c b/src/t_list.c
index 6b3dc2b7c..76b46fef7 100644
--- a/src/t_list.c
+++ b/src/t_list.c
@@ -520,7 +520,7 @@ void lremCommand(client *c) {
if (removed) {
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) {