summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
authorLuke Palmer <luke@lukepalmer.net>2022-04-13 04:36:38 -0400
committerGitHub <noreply@github.com>2022-04-13 11:36:38 +0300
commitbb7891f080602fb92197a0f398be71eb7aba9e3c (patch)
tree8e10bb0b29c09543714c5266c7e2ac757aaab442 /redis.conf
parente875ff89ece5ec9d43273b19e3b88e4d36a48ba9 (diff)
downloadredis-bb7891f080602fb92197a0f398be71eb7aba9e3c.tar.gz
Keyspace event for new keys (#10512)
Add an optional keyspace event when new keys are added to the db. This is useful for applications where clients need to be aware of the redis keyspace. Such an application can SCAN once at startup and then listen for "new" events (plus others associated with DEL, RENAME, etc).
Diffstat (limited to 'redis.conf')
-rw-r--r--redis.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis.conf b/redis.conf
index 34b755718..4fbbaf7e0 100644
--- a/redis.conf
+++ b/redis.conf
@@ -1827,6 +1827,7 @@ latency-monitor-threshold 0
# z Sorted set commands
# x Expired events (events generated every time a key expires)
# e Evicted events (events generated when a key is evicted for maxmemory)
+# n New key events (Note: not included in the 'A' class)
# t Stream commands
# d Module key type events
# m Key-miss events (Note: It is not included in the 'A' class)