OSingh commented on code in PR #1054:
URL: https://github.com/apache/yunikorn-k8shim/pull/1054#discussion_r3747310896
##########
pkg/cache/application.go:
##########
@@ -510,19 +513,55 @@ func (app *Application) onResuming() {
}
}
+// isPlaceholderTimeoutElapsed returns true when the configured placeholder
timeout has already
+// elapsed since the application creation time. Used on restart to avoid
creating placeholder
+// pods that would immediately time out.
+func (app *Application) isPlaceholderTimeoutElapsed() bool {
Review Comment:
Done.
--
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]