mirror of
https://gitee.com/gitea/gitea
synced 2025-11-05 00:50:26 +08:00
@@ -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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user