samsondav / rihanna

Rihanna is a high performance postgres-backed job queue for Elixir
MIT License
439 stars 49 forks source link

Re-enqueue and retain metadata #84

Closed tpitale closed 5 years ago

tpitale commented 5 years ago

Currently, it is possible to re-enqueue a job (the args are generally available), but when doing so we lose any metadata (specifically attempts count).

I'd like to introduce a non-failure response that simply sets a new due_at, but otherwise retains the job as-is (id, metadata, etc).