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



你可能感兴趣的:(redis,数据库,缓存)