Closed mjrusso closed 11 years ago
question about this: where would these items be stored? Would we keep extra information for each worker in an extra queue?
We would need new Redis lists, for example:
queue:<queue-name>:completed
queue:<queue-name>:failed
Whenever an item is added to these lists, the next operation should be LTRIM <list-name> 0 x
, where x is the number of jobs to keep.
Likewise, we could do the same thing for each worker. For example:
worker:<worker-host>:<worker-pid>:completed
worker:<worker-host>:<worker-pid>:failed
This is a low-priority feature request, but it would be convenient to augment the Queue view to show the last
x
successfully completed jobs and lastx
failed jobs (in addition to just the pending jobs, as we have today).