adityadtu5 commented on code in PR #1062:
URL: https://github.com/apache/yunikorn-k8shim/pull/1062#discussion_r3791529750


##########
pkg/cache/task.go:
##########
@@ -39,6 +41,15 @@ import (
        "github.com/apache/yunikorn-scheduler-interface/lib/go/si"
 )
 
+// retryBackoff controls the retry schedule for binding pod volumes and 
binding the
+// pod to a node. Declared as a package variable so tests can shorten it.
+var retryBackoff = wait.Backoff{
+       Steps:    8, // total time is 1 + 2 + 4 + 8 + 16 + 30 + 30 + 30 = 121 
seconds
+       Duration: time.Second,
+       Factor:   2,
+       Cap:      30 * time.Second,
+}

Review Comment:
   yes, this is as per internal discussion.
   cc @wilfred-s 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to