Redis Enable keyspace notifications

参考:

https://tech.webinterpret.com/redis-notifications-python/#:~:text=By%20default%2C%20keyspace%20events%20notifications%20are%20disabled.%20We,the%20meaning%20of%20each%20character%20check%20the%20documentation.

官方文档:https://redis.io/docs/manual/keyspace-notifications/

By default, keyspace events notifications are disabled. We can enable them in redis.conf or redis-cli as below:

$ redis-cli config set notify-keyspace-events KEA
OK



posted @ 2023-09-15 10:16  然然1907  阅读(13)  评论(0编辑  收藏  举报