mirror of
https://github.com/fluencelabs/redis
synced 2025-06-30 09:21:34 +00:00
Keyspace events notification API.
This commit is contained in:
17
redis.conf
17
redis.conf
@ -445,6 +445,23 @@ slowlog-log-slower-than 10000
|
||||
# You can reclaim memory used by the slow log with SLOWLOG RESET.
|
||||
slowlog-max-len 128
|
||||
|
||||
############################# Event notification ##############################
|
||||
|
||||
# Redis can notify Pub/Sub clients about events happening in the key space.
|
||||
# This feature is documented at http://redis.io/topics/keyspace-events
|
||||
#
|
||||
# For instance if keyspace events notification is enabled, and a client
|
||||
# performs a DEL operation on key "foo" stored in the Database 0, two
|
||||
# messages will be published via Pub/Sub:
|
||||
#
|
||||
# PUBLISH __keyspace@0__:foo del
|
||||
# PUBLISH __keyevent@0__:del foo
|
||||
#
|
||||
# While the overhead of this feature is relatively small most users don't
|
||||
# need it so it is disabled by default. You can enable it setting the
|
||||
# following configuration option to yes.
|
||||
notify-keyspace-events no
|
||||
|
||||
############################### ADVANCED CONFIG ###############################
|
||||
|
||||
# Hashes are encoded using a memory efficient data structure when they have a
|
||||
|
Reference in New Issue
Block a user