Set default of WOODPECKER_BACKEND_{DOCKER,K8S}_STOP_TIMEOUT to 20s (#6475)

This commit is contained in:
6543
2026-04-22 21:04:40 +02:00
committed by GitHub
parent e6a1a42da5
commit 8e6084c661
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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,
},
}