Commit a1db3934 authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'bvl-add-deduplication-note-docs' into 'master'

Note that idempotent jobs are deduplicated

See merge request gitlab-org/gitlab!31776
parents 841d1633 aab233dc
......@@ -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