Reputation: 78
I have been trying to use the MULTI
command with redis on Heroku, it works well a couple of times but soon or later it stops working and returns 'QUEUED'. It always happens when I use MULTI
.
redis.multi()
.hgetall('project:' + url)
.hgetall('code:' + url)
.exec(function (err, results) {
//...
});
It's working fine on my local machine but it crashes on Heroku all the time.
Why does 'QUEUED' means here? Has anyone had this issue on Heroku?
Upvotes: 1
Views: 237
Reputation: 6377
Which npm module does that use for redis? I am not using redis on Heroku so I don't know if this applies to the specific module you are using, but the one I have been using has bugs on certain newer versions that have been giving me a lot of problems. For example https://github.com/mranney/node_redis/issues/289
If its node_redis, you might try 0.7.3, or the latest version from master.
Upvotes: 2