Skip to content

Instantly share code, notes, and snippets.

View tyler46's full-sized avatar

Spyros Markopoulos tyler46

  • Vermantia
  • Athens, Greece
  • 15:20 (UTC -12:00)
View GitHub Profile
@tyler46
tyler46 / main.rs
Last active April 21, 2022 07:50
Redis keyspace notification in Rust

Enable 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