seomoz / qless

Queue / Pipeline Management
MIT License
294 stars 76 forks source link

update requeueable exceptions delay policy algorithm #204

Closed vadim-ex closed 9 years ago

vadim-ex commented 9 years ago

Change requeueable exception delay algorithm to generate random delay in the range (including fractional seconds). I think, the better way would be to separate requeue policy into its own class from requeue handling (this would allow multiple policies, like exponential extension of the delay, etc.), but it is more radical change, which would be breaking. OTOH, I am willing to implement it.

minor improvements:

dlecocq commented 9 years ago

Rebased off of master and force-pushed (sorry about that). It's to incorporate a fix for a flaky test.

dlecocq commented 9 years ago

Once this build passes, LGTM

vadim-ex commented 9 years ago

Thank you Dan! I really appreciate doing rebase for me