mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
chore: init container healthcheck const
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package api
|
||||
|
||||
import "time"
|
||||
|
||||
const (
|
||||
// defaultDockerHealthcheckInterval is the default Docker interval between health check runs.
|
||||
defaultDockerHealthcheckInterval = 30 * time.Second
|
||||
// defaultDockerHealthcheckRetries is the default Docker number of consecutive failures needed
|
||||
// to consider the container unhealthy.
|
||||
defaultDockerHealthcheckRetries = 3
|
||||
)
|
||||
Reference in New Issue
Block a user