From 9f00cdc9d73b44569a071d18535586e28c469b8e Mon Sep 17 00:00:00 2001 From: Saravanan Balasubramanian <33908564+sarabala1979@users.noreply.github.com> Date: Thu, 6 Aug 2020 13:24:25 -0700 Subject: [PATCH] fix: Fixed workflow queue duration if PVC creation is forbidden (#3691) * fix: DAG level Output Artifacts on K8S and Kubelet executor * fix: Fixed workflow queue duration if PVC creation is forbidden --- workflow/controller/operator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/controller/operator.go b/workflow/controller/operator.go index b3cd526936f1..f60ec7908842 100644 --- a/workflow/controller/operator.go +++ b/workflow/controller/operator.go @@ -294,7 +294,7 @@ func (woc *wfOperationCtx) operate() { // Error was most likely caused by a lack of resources. // In this case, Workflow will be in pending state and requeue. woc.markWorkflowPhase(wfv1.NodePending, false, fmt.Sprintf("Waiting for a PVC to be created. %v", err)) - woc.requeue(10) + woc.requeue(10 * time.Second) return } msg := "pvc create error"