Last active
August 20, 2021 04:16
-
-
Save antirez/4608754 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compile the Redis "notifications" branch on Github. | |
Start Redis with ./redis-server --notify-keyspace-events yes | |
Subscribe to all the events with: | |
redis-cli psubscribe '*' | |
In another terminal window, play with redis-cli: set, del, expire, ... Only a few already work. |
@bigmonkeyboy it works just fine for me. Can you try with the default redis.conf ? You need to switch the configuration which is disabled by default.
Having timer triggers would be just awesome.
Help me please
arth@l300:~/redisworks/redis-2.6.14/src$ ./redis-server --version Redis server v=2.6.14 sha=00000000:0 malloc=jemalloc-3.2.0 bits=64 arth@l300:~/redisworks/redis-2.6.14/src$ ./redis-server --notify-keyspace-events yes *** FATAL CONFIG FILE ERROR *** Reading the configuration file, at line 2 >>> 'notify-keyspace-events "yes"' Bad directive or wrong number of arguments
Where I wrong?
How should I install redis to use this feature?
Solved, update for origin/2.8(not 'notifications') branch and compile from it.
Works excellent! This is killer feature, thanks for implement it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great.
sorry - still not sure how to fix it to auto-start in notification mode :-)