tokarchuk/v1.17
Unknwon 10 years ago
parent 5338808600
commit 9558999698
  1. 1
      modules/cron/manager.go

@ -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…
Cancel
Save