honeydew v1.4.0 Honeydew.FailureMode.Retry View Source

Instructs Honeydew to retry a job a number of times on failure.


Retry jobs in this queue 3 times:

Honeydew.start_queue(:my_queue, failure_mode: {Honeydew.FailureMode.Retry,
                                               times: 3})

Retry jobs in this queue 3 times and then move to another queue:

                     failure_mode: {Honeydew.FailureMode.Retry,
                                    times: 3,
                                    finally: {Honeydew.FailureMode.Move,
                                              queue: :dead_letters}})

Link to this section Summary

Link to this section Functions

Link to this function immediate(job, reason, args) View Source
Link to this function validate_args!(args, module \\ __MODULE__) View Source