parent
e2c8d6fcb2
commit
3d1ff149a2
|
|
@ -284,6 +284,8 @@ var (
|
||||||
RunAtStart bool
|
RunAtStart bool
|
||||||
Schedule string
|
Schedule string
|
||||||
}{
|
}{
|
||||||
|
Enabled: true,
|
||||||
|
RunAtStart: false,
|
||||||
Schedule: "@every 10m",
|
Schedule: "@every 10m",
|
||||||
},
|
},
|
||||||
RepoHealthCheck: struct {
|
RepoHealthCheck: struct {
|
||||||
|
|
@ -293,6 +295,8 @@ var (
|
||||||
Timeout time.Duration
|
Timeout time.Duration
|
||||||
Args []string `delim:" "`
|
Args []string `delim:" "`
|
||||||
}{
|
}{
|
||||||
|
Enabled: true,
|
||||||
|
RunAtStart: false,
|
||||||
Schedule: "@every 24h",
|
Schedule: "@every 24h",
|
||||||
Timeout: 60 * time.Second,
|
Timeout: 60 * time.Second,
|
||||||
Args: []string{},
|
Args: []string{},
|
||||||
|
|
@ -302,6 +306,7 @@ var (
|
||||||
RunAtStart bool
|
RunAtStart bool
|
||||||
Schedule string
|
Schedule string
|
||||||
}{
|
}{
|
||||||
|
Enabled: true,
|
||||||
RunAtStart: true,
|
RunAtStart: true,
|
||||||
Schedule: "@every 24h",
|
Schedule: "@every 24h",
|
||||||
},
|
},
|
||||||
|
|
@ -771,7 +776,7 @@ func newLogService() {
|
||||||
useConsole = true
|
useConsole = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!useConsole) {
|
if !useConsole {
|
||||||
log.DelLogger("console")
|
log.DelLogger("console")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user