diff options
author | Unknwon <joe2010xtmf@163.com> | 2015-02-10 21:06:59 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2015-02-10 21:06:59 -0500 |
commit | 6a23252edc36a3d99b35af69a310fd31f687f3cb (patch) | |
tree | 94b1355117f54a54596dad3f9bb2b56f9e6fec19 /modules/cron | |
parent | e407df54f000bf3e078e67f043571293e4edad5d (diff) | |
download | gitea-6a23252edc36a3d99b35af69a310fd31f687f3cb.tar.gz gitea-6a23252edc36a3d99b35af69a310fd31f687f3cb.zip |
able to allow insecure certification of webhook for #891
Diffstat (limited to 'modules/cron')
-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) } |