binarymatt / pyres

a resque clone in python
http://github.com/binarydud/pyres
MIT License
955 stars 130 forks source link

Augment Queue view with more detail #32

Closed mjrusso closed 11 years ago

mjrusso commented 14 years ago

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 last x failed jobs (in addition to just the pending jobs, as we have today).

binarymatt commented 14 years ago

question about this: where would these items be stored? Would we keep extra information for each worker in an extra queue?

mjrusso commented 14 years ago

We would need new Redis lists, for example:

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: