refactor(marathon): rewrite configuration system.
This commit is contained in:
parent
ae2ae85070
commit
cee022b935
9 changed files with 649 additions and 1319 deletions
|
@ -11,11 +11,11 @@ const (
|
|||
// readinessCheckDefaultTimeout is the default timeout for a readiness
|
||||
// check if no check timeout is specified on the application spec. This
|
||||
// should really never be the case, but better be safe than sorry.
|
||||
readinessCheckDefaultTimeout time.Duration = 10 * time.Second
|
||||
readinessCheckDefaultTimeout = 10 * time.Second
|
||||
// readinessCheckSafetyMargin is some buffer duration to account for
|
||||
// small offsets in readiness check execution.
|
||||
readinessCheckSafetyMargin time.Duration = 5 * time.Second
|
||||
readinessLogHeader string = "Marathon readiness check: "
|
||||
readinessCheckSafetyMargin = 5 * time.Second
|
||||
readinessLogHeader = "Marathon readiness check: "
|
||||
)
|
||||
|
||||
type readinessChecker struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue