0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 00:11:24 +01:00

mirror fix

This commit is contained in:
Unknwon 2014-11-30 18:35:05 -05:00
parent 5338808600
commit 9558999698

View file

@ -14,7 +14,6 @@ import (
var c = New()
func NewCronContext() {
models.GitFsck()
c.AddFunc("Update mirrors", "@every 1h", models.MirrorUpdate)
c.AddFunc("Deliver hooks", fmt.Sprintf("@every %dm", setting.WebhookTaskInterval), models.DeliverHooks)
c.AddFunc("Repository health check", "@every 1h", models.GitFsck)