rsmq icon indicating copy to clipboard operation
rsmq copied to clipboard

If using ioredis with password callback not firing

Open aleksai opened this issue 7 years ago • 0 comments

const RedisSMQ = require("rsmq")
const Redis = require("ioredis")

const redis = new Redis("redis://:[email protected]:6379/0")
const rsmq = new RedisSMQ({ client: redis })

rsmq.sendMessage({ qname: queue_name, message: JSON.stringify(message) }, function (err, resp) {
	console.log(err, resp)
})

All connected, but sendMessage callback not firing, if I'm disable auth in redis config, get rid of ":foobared" all works.

aleksai avatar May 04 '17 11:05 aleksai