Closed thujikun closed 8 years ago
Amazon ElastiCache redis haven't support 'setex' yet. So I updated to use default 'set' method and 'EX' option instead. Moreover I added fineOne method support for cache because it's included in sequelize.
Hello and thanks very much for contributing! I'm also using Amazon ElastiCache, but I haven't encountered an issue with setex. What engine version are you on?
Sorry for late reply. My ElastiCache redis version is 2.8.19.
+1 replace the .setex
deprecated method with .set
.
Do either of you have a link to the deprecation notice? This is the first I'm hearing of it.
@rfink the method is not reported on the node_redis documentation.
Here. http://redis.io/commands/SET
Note: Since the SET command options can replace SETNX, SETEX, PSETEX, it is possible that in future versions of Redis these three commands will be deprecated and finally removed.
Thanks. Did not know that was a possibility. I'll take a look at this PR and get it merged in, hopefully today. Thanks again.
This is merged and released in 1.4.0. Thanks! Glad to find out about the deprecation before it happened.
Thanks! I confirmed it!
…ecated.