#835: Realtime webhooks

This commit is contained in:
Unknwon committed 2015-07-25 21:32:04 +08:00
1 parent 2b1442f3df
commit fa298a2c30
13 files changed
+140 -69

No files matched your search

-1
View File
@@ -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)
}