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

Dash in key prefix causes issue with watchStuckJobs() #1209

Open rickyk586 opened 5 years ago

rickyk586 commented 5 years ago

The dash screws up the regex in the Lua script:

local jt = string.match(v, "' + prefix + ':jobs:(.*):inactive")