aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkg/config/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/config/config.go b/pkg/config/config.go
index 6d51ffc..ffb53b7 100644
--- a/pkg/config/config.go
+++ b/pkg/config/config.go
@@ -22,11 +22,13 @@ type GlobalOptions struct {
DefaultEmail string `yaml:"default-email"`
Target string `yaml:"target"`
Parts []string `yaml:"parts"`
+ MaxFailures int `yaml:"max-failures"`
}
// Default global options
var DefaultGlobalOptions = GlobalOptions{
Timeout: 30,
+ MaxFailures: 10,
DefaultEmail: username() + "@" + hostname(),
Target: "",
Parts: []string{"text", "html"},