smrchy / rsmq

Redis Simple Message Queue
MIT License
1.76k stars 125 forks source link

not support node-redis-sentinel or ioredis? #55

Open hafeyang opened 7 years ago

hafeyang commented 7 years ago

i want using redis sentinel but i found snippets source code

if opts.client?.constructor?.name is "RedisClient"
            @redis = opts.client
        else
            @redis = RedisInst.createClient(opts.port, opts.host, opts.options)

node-redis-sentinel/ ioredis constructor.name is "RedisSentinelClient"/"Redis"

node-redis-sentinel-client ioredis

itaylor commented 7 years ago

Pull request https://github.com/smrchy/rsmq/pull/57 adds ioRedis support.