Skip to content

Commit

Permalink
correct wording on UniqueOpts description (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgentry authored Dec 27, 2024
1 parent f88dfff commit fc61933
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 fc61933

Please sign in to comment.