R
Railway•8mo ago
Satan1c

Redis notification

How can I, or is it possible to, configure notify-keyspace-events ?
Solution:
to set: redis-cli config set notify-keyspace-events KEA and to check: redis-cli config get notify-keyspace-events...
Jump to solution
17 Replies
Percy
Percy•8mo ago
Project ID: N/A
Satan1c
Satan1cOP•8mo ago
N/A
Brody
Brody•8mo ago
How would you normally configure that?
Solution
Satan1c
Satan1c•8mo ago
to set: redis-cli config set notify-keyspace-events KEA and to check: redis-cli config get notify-keyspace-events
Brody
Brody•8mo ago
Okay cool, may I ask what's stopping you from doing that?
Satan1c
Satan1cOP•8mo ago
idk how can I run redis-cli on railway redis deployment
Brody
Brody•8mo ago
the same way you'd use the redis cli to connect to any other redis database
Satan1c
Satan1cOP•8mo ago
oh, gimme a sec I'll try cuz until now I doesn't use redis-cli, and connecting only by CacheManager
Brody
Brody•8mo ago
if cache manager provides you a way to run commands on your database it would work all the same
Satan1c
Satan1cOP•8mo ago
unfortunately not, I've come after it's comment: Make sure that all servers are configured correctly and 'notify-keyspace-events' is at least set to 'Exe', otherwise CacheManager will not retrieve any events
Brody
Brody•8mo ago
you would need to enable it with the commands you have given yourself first
Satan1c
Satan1cOP•8mo ago
yah, I've done it
No description
Brody
Brody•8mo ago
you need to run the commands you have given yourself to enable that feature
Satan1c
Satan1cOP•8mo ago
yep, it seted, I'll test now will it saved on restarts ? or I'll need to re-type that command after Redis restarts ?
Brody
Brody•8mo ago
the setting will persist
Satan1c
Satan1cOP•8mo ago
yep, now all is fine, thx so much <3
Brody
Brody•8mo ago
no problem, you really did answer yourself though 😆
Want results from more Discord servers?
Add your server