diff options
author | Unknwon <joe2010xtmf@163.com> | 2015-02-11 19:25:59 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2015-02-11 19:25:59 -0500 |
commit | c5c467a9cd805c7cd0fb93f467e0205ee082cca3 (patch) | |
tree | b4e617b52918b38e589ec2221eaf2bededd23f79 /modules/cron/manager.go | |
parent | c7a042ef3682fce9f343faf5e8d3e4228feabb96 (diff) | |
parent | 0af74b36add865445ed1d6cd649910d8bb82fe5e (diff) | |
download | gitea-c5c467a9cd805c7cd0fb93f467e0205ee082cca3.tar.gz gitea-c5c467a9cd805c7cd0fb93f467e0205ee082cca3.zip |
Merge branch 'dev' of github.com:gogits/gogs into access
Diffstat (limited to 'modules/cron/manager.go')
-rw-r--r-- | modules/cron/manager.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cron/manager.go b/modules/cron/manager.go index 135fec4faa..2990ab0604 100644 --- a/modules/cron/manager.go +++ b/modules/cron/manager.go @@ -15,7 +15,7 @@ var c = New() func NewCronContext() { 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.Webhook.TaskInterval), models.DeliverHooks) if setting.Git.Fsck.Enable { c.AddFunc("Repository health check", fmt.Sprintf("@every %dh", setting.Git.Fsck.Interval), models.GitFsck) } |