Honeydew.FailureMode.Retry (honeydew v1.5.0) View Source

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

Examples

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:

Honeydew.start_queue(:my_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