Skip to content

Commit

Permalink
correct wording on UniqueOpts description
Browse files Browse the repository at this point in the history
  • Loading branch information
bgentry committed Dec 26, 2024
1 parent d73c280 commit 449b4d1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions insert_opts.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ type InsertOpts struct {
//
// When the options struct is uninitialized (its zero value) no uniqueness at is
// enforced. As each property is initialized, it's added as a dimension on the
// uniqueness matrix, and with any property on, the job's kind always counts
// toward uniqueness.
// uniqueness matrix. When any property has a non-zero value specified, the
// job's kind automatically counts toward uniqueness, but can be excluded by
// setting ExcludeKind to true.
//
// So for example, if only ByQueue is on, then for the given job kind, only a
// single instance is allowed in any given queue, regardless of other properties
Expand Down

0 comments on commit 449b4d1

Please sign in to comment.