From 11197f9d0b6bccd4b6be6d217f70de5133d41e64 Mon Sep 17 00:00:00 2001 From: Blake Gentry Date: Thu, 18 Jul 2024 18:38:24 -0500 Subject: [PATCH] add pending to default unique states This still needs tests and documentation. --- internal/dbunique/db_unique.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/dbunique/db_unique.go b/internal/dbunique/db_unique.go index 34bcb41e..908ab7a5 100644 --- a/internal/dbunique/db_unique.go +++ b/internal/dbunique/db_unique.go @@ -23,6 +23,7 @@ import ( var defaultUniqueStates = []string{ //nolint:gochecknoglobals string(rivertype.JobStateAvailable), string(rivertype.JobStateCompleted), + string(rivertype.JobStatePending), string(rivertype.JobStateRunning), string(rivertype.JobStateRetryable), string(rivertype.JobStateScheduled),