seomoz/qless-core — pull request #28 by dlecocq (2013-08-23 13:54:42+00:00)
Title: Failed retries and `REDIS_URL`

A fix for: https://github.com/seomoz/qless-core/commit/670263e5380da502985079fb80101dbf9cf7b097#commitcomment-3927002

In particular, when a job was failing due to retries, it wasn't incrementing the
'failed' or 'failures' stats for the associated queue. This also led to a bug when
trying to cancel jobs due to failed retries.

This is also related to a bug where the 'failures' count could become negative --
probably the longest-standing and until now un-replicated bug.