redis-node
redis-node copied to clipboard
Possible issue on RPOPLPUSH method inside transaction block
Hi, First of all, thanks for the lib, you have done an excellent work.
I'm getting this error text WRONGTYPE Operation against a key holding the wrong kind of value when using RPOPLPUSH and the destination list is not created yet, inside a transaction.
Actually, I think that the error text is showed because if list doesn't exists, is creating as String, not as list
I send a StackOverflow link with an example. http://stackoverflow.com/questions/32487602/redis-node-rpoplpush-method
Sorry!, i found the error, i was using redis-scheduler to make the list expires and catch the event. that converts list key to a string. Thanks for your great job doing this lib.