mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 22:24:54 +00:00
chore: init container healthcheck const
This commit is contained in:
1 parent
2940965e31
commit
a5a9ef5444
1 file changed
+11
@@ -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