Commit aab233dc authored by Bob Van Landuyt's avatar Bob Van Landuyt Committed by Marcia Ramos

Note that idempotent jobs are deduplicated

Add a note to our dev docs that idempotent jobs are automatically
deduplicated, including a link to the explanation of that
deduplication.
parent 73ffa9c3
......@@ -82,6 +82,11 @@ As a general rule, a worker can be considered idempotent if:
A good example of that would be a cache expiration worker.
NOTE: **Note:**
A job scheduled for an idempotent worker will automatically be
[deduplicated](#deduplication) when an unstarted job with the same
arguments is already in the queue.
### Ensuring a worker is idempotent
Make sure the worker tests pass using the following shared example:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment