antirez / antirez/disque

[Request] NACK with a delay

オープン
#170 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
C
スター
8.1k
フォーク
532
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi, I'd like to implement [retry with an exponential backoff as used in Sidekiq,](https://github.com/mperham/sidekiq/wiki/Error-Handling#automatic-job-retry) that is if a job fails it is requeued with an ever longer pause.

Right now if I NACK a job, it returns to the queue immediately. My other option is to ACK the job and add it again, with a delay. This works OK, but from client's point of view it changes the job ID and that makes tracking failed jobs more difficult.

The NACK command with a delay support could look like this:

`NACK ... [DELAY ]`

What do you think?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。