mirror of
https://github.com/go-gitea/gitea
synced 2025-07-14 14:37:20 +00:00
add func to autofix couters in repository
This commit is contained in:
@ -19,6 +19,7 @@ func NewCronContext() {
|
||||
if setting.Git.Fsck.Enable {
|
||||
c.AddFunc("Repository health check", fmt.Sprintf("@every %dh", setting.Git.Fsck.Interval), models.GitFsck)
|
||||
}
|
||||
c.AddFunc("Check repository statistics", "@every 24h", models.CheckRepoStats)
|
||||
c.Start()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user