fix: ensure only a single instance is fired

Signed-off-by: allanice001 <allanice001@gmail.com>
This commit is contained in:
allanice001
2025-12-30 17:30:38 +00:00
parent e0d163181a
commit 79f3259bd6

View File

@@ -223,7 +223,7 @@ func RunClusterAction(db *gorm.DB, jobs *bg.Jobs) http.HandlerFunc {
run.ID.String(), run.ID.String(),
"cluster_action", "cluster_action",
args, args,
archer.WithMaxRetries(3), archer.WithMaxRetries(0),
) )
if enqueueErr != nil { if enqueueErr != nil {