mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 20:16:20 +01:00
mirror fix
This commit is contained in:
parent
5338808600
commit
9558999698
1 changed files with 0 additions and 1 deletions
|
@ -14,7 +14,6 @@ import (
|
||||||
var c = New()
|
var c = New()
|
||||||
|
|
||||||
func NewCronContext() {
|
func NewCronContext() {
|
||||||
models.GitFsck()
|
|
||||||
c.AddFunc("Update mirrors", "@every 1h", models.MirrorUpdate)
|
c.AddFunc("Update mirrors", "@every 1h", models.MirrorUpdate)
|
||||||
c.AddFunc("Deliver hooks", fmt.Sprintf("@every %dm", setting.WebhookTaskInterval), models.DeliverHooks)
|
c.AddFunc("Deliver hooks", fmt.Sprintf("@every %dm", setting.WebhookTaskInterval), models.DeliverHooks)
|
||||||
c.AddFunc("Repository health check", "@every 1h", models.GitFsck)
|
c.AddFunc("Repository health check", "@every 1h", models.GitFsck)
|
||||||
|
|
Loading…
Reference in a new issue