]> source.dussan.org Git - gitea.git/commitdiff
mirror fix
authorUnknwon <joe2010xtmf@163.com>
Sun, 30 Nov 2014 23:35:05 +0000 (18:35 -0500)
committerUnknwon <joe2010xtmf@163.com>
Sun, 30 Nov 2014 23:35:05 +0000 (18:35 -0500)
modules/cron/manager.go

index fcf559bcb0b2912d89551f0f23187c56caf57803..49b1a99cee6896076e48dbeac96fc4a6f7918935 100644 (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)