quirkey / resque-status

resque-status is an extension to the resque queue system that provides simple trackable jobs.
MIT License
514 stars 169 forks source link

a small improvement on the way clear_completed and clear_failed are #122

Closed guilherme closed 9 years ago

guilherme commented 9 years ago

When the status queue is too big, wait to clear_completed and clear_failed to check all items if they are completed/failed and them remove the items takes too much time. This approach removes when encounters the completed?/failed? item and then keeps returning the hashs of removed items.

And i've removed the glueoutputbuf from redis-test.conf since it doesn't work on redis >= 2.6

quirkey commented 9 years ago

Thanks - this saves an extra iteration through the list of items too :+1:

douglasresende commented 9 years ago

:+1: