diff --git a/modules/pull/merge.go b/modules/pull/merge.go index 5685336a2bb91..3b653aac2daaf 100644 --- a/modules/pull/merge.go +++ b/modules/pull/merge.go @@ -49,7 +49,6 @@ func Merge(pr *models.PullRequest, doer *models.User, baseGitRepo *git.Repositor } defer func() { - go models.HookQueue.Add(pr.BaseRepo.ID) go models.AddTestPullRequestTask(doer, pr.BaseRepo.ID, pr.BaseBranch, false) }()