mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-09-05 20:07:25 +00:00
Set default of WOODPECKER_BACKEND_{DOCKER,K8S}_STOP_TIMEOUT to 20s (#6475)
This commit is contained in:
@@ -60,7 +60,7 @@ var Flags = []cli.Flag{
|
||||
Sources: cli.EnvVars("WOODPECKER_BACKEND_DOCKER_STOP_TIMEOUT"),
|
||||
Name: "backend-docker-stop-timeout",
|
||||
Usage: "seconds Woodpecker waits for a container to stop gracefully before forcefully killing it",
|
||||
Value: 180, //nolint:mnd
|
||||
Value: 20, //nolint:mnd
|
||||
},
|
||||
//
|
||||
// resource limit parameters
|
||||
|
||||
@@ -132,6 +132,6 @@ var Flags = []cli.Flag{
|
||||
Sources: cli.EnvVars("WOODPECKER_BACKEND_K8S_STOP_TIMEOUT"),
|
||||
Name: "backend-k8s-stop-timeout",
|
||||
Usage: "seconds Woodpecker waits for pods to stop gracefully before forcefully killing them",
|
||||
Value: 180,
|
||||
Value: 20,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user