arena icon indicating copy to clipboard operation
arena copied to clipboard

Paused jobs not properly handled by queue state url handler

Open mshwery opened this issue 6 years ago • 4 comments

Because paused is not in the accepted list of bull queue states, it is treated as an individual job which fails on hgetall with a WRONGTYPE error from Redis:

WRONGTYPE Operation against a key holding the wrong kind of value

mshwery avatar Nov 13 '18 19:11 mshwery

Wondering if it makes sense to map to all of these states in particular: https://github.com/OptimalBits/bull/blob/5e52e045a0a58d5126f4af3e4572b4af86cc7f9d/lib/getters.js#L20-L30

mshwery avatar Nov 13 '18 19:11 mshwery

Addressed in #133

mshwery avatar Nov 13 '18 19:11 mshwery

I still got this problem.

fbukevin avatar Sep 17 '19 12:09 fbukevin

Yeah I think the original PR didn't fully address the issue, just pushed it deeper.

mshwery avatar Sep 17 '19 13:09 mshwery