aboutsummaryrefslogtreecommitdiff
path: root/models/webhook.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/webhook.go')
-rw-r--r--models/webhook.go4
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
}