Unverified Commit 205d89d8 authored by Sune Keller's avatar Sune Keller 🐳

Set default task fail threshold and add usage text

Signed-off-by: Sune Keller's avatarSune Keller <[email protected]>
parent 07d31987
Pipeline #108427679 passed with stage
in 3 minutes and 35 seconds
...@@ -103,6 +103,9 @@ func main() { ...@@ -103,6 +103,9 @@ func main() {
&cli.IntFlag{ &cli.IntFlag{
Name: "task-failure-threshold", Name: "task-failure-threshold",
Destination: &failCountThreshold, Destination: &failCountThreshold,
Usage: "How many times a service has to be observed with one or more failing tasks before the service is considered failed",
Value: 5,
}, },
&cli.DurationFlag{ &cli.DurationFlag{
Name: "check-interval", Name: "check-interval",
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment