summaryrefslogtreecommitdiffstats
path: root/modules/cron
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-07-25 21:32:04 +0800
committerUnknwon <u@gogs.io>2015-07-25 21:32:04 +0800
commitfa298a2c30c358dbfa47fc123c6aca83fe9eb999 (patch)
tree2179828e8b7c8ebafe3121506f26d52cb0350c63 /modules/cron
parent2b1442f3dfa3558f4e1a9dd5b1dbb50cf348e6e0 (diff)
downloadgitea-fa298a2c30c358dbfa47fc123c6aca83fe9eb999.tar.gz
gitea-fa298a2c30c358dbfa47fc123c6aca83fe9eb999.zip
#835: Realtime webhooks
Diffstat (limited to 'modules/cron')
-rw-r--r--modules/cron/manager.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/cron/manager.go b/modules/cron/manager.go
index 91ae16be27..da485d23ab 100644
--- a/modules/cron/manager.go
+++ b/modules/cron/manager.go
@@ -15,7 +15,6 @@ var c = New()
func NewCronContext() {
c.AddFunc("Update mirrors", "@every 1h", models.MirrorUpdate)
- 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)
}