Automattic / kue

Kue is a priority job queue backed by redis, built for node.js.
http://automattic.github.io/kue
MIT License
9.45k stars 862 forks source link

Redis Singleton Instace via create factory fails with set Promotion:Lock #1203

Open abizake opened 5 years ago

abizake commented 5 years ago

Trying to use singleton redis client with through kue under which I am getting this issue:- Am I doing any thing wrong :-

I just keep getting these two lines in my log and nothing happens until time out.

ioredis:redis write command[127.0.0.1:6379]: 0 -> set([ 'promotion:lock', 'LB+WEMyOEeiOhNtmySv7aw==', 'PX', '2000', 'NX' ]) +999ms

ioredis:redis write command[127.0.0.1:6379]: 0 -> set([ 'activeJobsTTL:lock', 'LCAyUMyOEeiOhNtmySv7aw==', 'PX', '2000', 'NX' ]) +3ms F

Please advise. What is happening here and is it possible to use a singleton Redis Client along with Kue.