Saturday, 24 August 2013

Redis-cli not syncing with node

Redis-cli not syncing with node

Currently I have been doing some testing with my database by adding users.
I check the list of my users by displaying them in the web application and
by using HGETALL "players" in redis-cli at command line.
It has come time for me to delete this key for a fresh production start.
Naturally I use the command DEL "players" in redis-cli and it returns
successfull. Checking the key again returns an empty result.
Awesome!
Checking in the web-app however, the same user list appears. When I
restart my the redis server, the users still appear. Also, using HGETALL
"players" also returns the same list of users I tested with.
How do I make redis-cli correspond to actually delete a key?
Thanks

No comments:

Post a Comment