diff --git a/workflow/executor/resource.go b/workflow/executor/resource.go index 086834509f70..00fc98fcbae6 100644 --- a/workflow/executor/resource.go +++ b/workflow/executor/resource.go @@ -82,10 +82,9 @@ func (we *WorkflowExecutor) WaitResource(resourceName string) error { failReqs, _ = failSelector.Requirements() } - // Start the condition result reader using ExponentialBackoff - // Exponential backoff is for steps of 0, 5, 20, 80, 320 seconds since the first step is without - // delay in the ExponentialBackoff - err := wait.ExponentialBackoff(wait.Backoff{Duration: (time.Second * 5), Factor: 4.0, Steps: 5}, + // Start the condition result reader using PollImmediateInfinite + // Poll intervall of 5 seconds serves as a backoff intervall in case of immediate result reader failure + err := wait.PollImmediateInfinite(time.Duration(time.Second*5), func() (bool, error) { isErrRetry, err := checkResourceState(resourceName, successReqs, failReqs)