Currently the priority argument for a job is silently ignored for redis and jobs replayed from redis are all added at the normal priority.
A possible solution would be to use hashes. If instead of calling SET key data the code called HMSET key data "data" priority "priority", and HGETALL key in the replay method, it would be possible to store and retrieve the priority from redis.
Currently the priority argument for a job is silently ignored for redis and jobs replayed from redis are all added at the normal priority.
A possible solution would be to use hashes. If instead of calling
SET key data
the code calledHMSET key data "data" priority "priority"
, andHGETALL key
in the replay method, it would be possible to store and retrieve the priority from redis.