diff --git a/insert_opts.go b/insert_opts.go index 33820a76..efea443e 100644 --- a/insert_opts.go +++ b/insert_opts.go @@ -98,7 +98,7 @@ type UniqueOpts struct { // Unlike other unique options, ByState gets a default when it's not set for // user convenience. The default is equivalent to: // - // ByState: []river.JobState{river.JobStateAvailable, river.JobStateRunning, river.JobStateRetryable, river.JobStateScheduled} + // ByState: []river.JobState{river.JobStateAvailable, river.JobStateCompleted, river.JobStateRunning, river.JobStateRetryable, river.JobStateScheduled} // // With this setting, any jobs of the same kind that have been completed or // discarded, but not yet cleaned out by the system, won't count towards the