Open vothanhkiet opened 7 years ago
@vothanhkiet I will appreciate PR.
why did we lock dependencies?
among other things, this locked us into a dangerously-broken version of Redlock (v2.1.1)
@schmod This may solve your problem - https://github.com/lykmapipo/kue-scheduler/pull/101
indeed, it probably would! FWIW, I've had good luck with Redlock 3.0.0.
@schmod I've tried Redlock 3.0.0 with no luck, not sure why :/
When validate expired key, we've already include the prefix, however, when extract the job unique ID, we assume that the expired key has only 3 or 4 parts, therefore, if the prefix contain additional colon symbol, _getJobUUID return undefined value
Solution: can we use the last part as UUID ?