index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
models
/
webhook.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Unknwon <u@gogs.io>
2017-03-25 03:36:13 -0400
committer
Unknwon <u@gogs.io>
2017-03-25 03:36:13 -0400
commit
8f52ab820106aac86fa5985bb5ba3ecc22b58725
(
patch
)
tree
1c5592f452be190e6128205dbd6e4e4968458486
/
models/webhook.go
parent
260ebcc1cad18d376acdeef8fb81c1a2200f1b14
(
diff
)
models/repo_editor: add pull request test task after commit (#4338)
Diffstat
(limited to 'models/webhook.go')
-rw-r--r--
models/webhook.go
4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/webhook.go b/models/webhook.go
index 19f2ae18..a1f8c343 100644
--- a/
models/webhook.go
+++ b/
models/webhook.go
@@ -602,8 +602,8 @@ func prepareHookTasks(e Engine, repo *Repository, event HookEventType, p api.Pay
}
// It's safe to fail when the whole function is called during hook execution
- // because resource released after exit.
- // FIXME: need a more safe way to not call this function if it's during hook execution.
+ // because resource released after exit. Also, there is no process started to
+ // consume this input during hook execution.
go HookQueue.Add(repo.ID)
return nil
}