Skip to content

Commit

Permalink
Note lack of unique conflicts for insert_all in README (#1133)
Browse files Browse the repository at this point in the history
Add clarity to unique conflicts when using Pro's Smart Engine. This is described in the insert_all docs but was missing here.
  • Loading branch information
simonmcconnell committed Aug 8, 2024
1 parent bbc4291 commit 4d124e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,9 @@ case Oban.insert(changeset) do
end
```

Note that conflicts are only detected for jobs enqueued through `Oban.insert/2,3`. Jobs enqueued
through `Oban.insert_all/2` _do not_ use per-job unique configuration.
Note that, unless you are using Oban Pro's Smart Engine, conflicts are only detected for jobs
enqueued through `Oban.insert/2,3`. When using the Basic Engine, jobs enqueued through
`Oban.insert_all/2` _do not_ use per-job unique configuration.

#### Replacing Values

Expand Down

0 comments on commit 4d124e5

Please sign in to comment.