parent
cfdc62e7fa
commit
0380ce269f
1 changed files with 10 additions and 4 deletions
|
@ -326,7 +326,9 @@ var (
|
||||||
RunAtStart bool
|
RunAtStart bool
|
||||||
Schedule string
|
Schedule string
|
||||||
}{
|
}{
|
||||||
Schedule: "@every 10m",
|
Enabled: true,
|
||||||
|
RunAtStart: false,
|
||||||
|
Schedule: "@every 10m",
|
||||||
},
|
},
|
||||||
RepoHealthCheck: struct {
|
RepoHealthCheck: struct {
|
||||||
Enabled bool
|
Enabled bool
|
||||||
|
@ -335,15 +337,18 @@ var (
|
||||||
Timeout time.Duration
|
Timeout time.Duration
|
||||||
Args []string `delim:" "`
|
Args []string `delim:" "`
|
||||||
}{
|
}{
|
||||||
Schedule: "@every 24h",
|
Enabled: true,
|
||||||
Timeout: 60 * time.Second,
|
RunAtStart: false,
|
||||||
Args: []string{},
|
Schedule: "@every 24h",
|
||||||
|
Timeout: 60 * time.Second,
|
||||||
|
Args: []string{},
|
||||||
},
|
},
|
||||||
CheckRepoStats: struct {
|
CheckRepoStats: struct {
|
||||||
Enabled bool
|
Enabled bool
|
||||||
RunAtStart bool
|
RunAtStart bool
|
||||||
Schedule string
|
Schedule string
|
||||||
}{
|
}{
|
||||||
|
Enabled: true,
|
||||||
RunAtStart: true,
|
RunAtStart: true,
|
||||||
Schedule: "@every 24h",
|
Schedule: "@every 24h",
|
||||||
},
|
},
|
||||||
|
@ -353,6 +358,7 @@ var (
|
||||||
Schedule string
|
Schedule string
|
||||||
OlderThan time.Duration
|
OlderThan time.Duration
|
||||||
}{
|
}{
|
||||||
|
Enabled: true,
|
||||||
RunAtStart: true,
|
RunAtStart: true,
|
||||||
Schedule: "@every 24h",
|
Schedule: "@every 24h",
|
||||||
OlderThan: 24 * time.Hour,
|
OlderThan: 24 * time.Hour,
|
||||||
|
|
Reference in a new issue