diff options
author | Guy Benoish <guy.benoish@redislabs.com> | 2019-03-14 12:11:16 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2019-03-14 12:30:41 +0100 |
commit | 6fa16f585c579b92577e3207f14fdab0a6830b69 (patch) | |
tree | 85d9e6bb5aeafbf5af53705c2d9fcb3a9599e5ea | |
parent | 643110525e1388dca36097d0be6d48a5021e59e1 (diff) | |
download | redis-6fa16f585c579b92577e3207f14fdab0a6830b69.tar.gz |
Fix mismatching keyspace notification classes
-rw-r--r-- | src/geo.c | 2 | ||||
-rw-r--r-- | src/t_list.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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) { |