Skip to content

Commit f7e044d

Browse files
authored
goroutine for issuecomment as well (#1821)
1 parent a1e5ce3 commit f7e044d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/controllers/github.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func (d DiggerController) GithubAppWebHook(c *gin.Context) {
9595
c.String(http.StatusOK, "OK")
9696
return
9797
}
98-
handleIssueCommentEvent(gh, event, d.CiBackendProvider, appId64, d.GithubWebhookPostIssueCommentHooks)
98+
go handleIssueCommentEvent(gh, event, d.CiBackendProvider, appId64, d.GithubWebhookPostIssueCommentHooks)
9999
case *github.PullRequestEvent:
100100
log.Printf("Got pull request event for %d", *event.PullRequest.ID)
101101
// run it as a goroutine to avoid timeouts

0 commit comments

Comments
 (0)