forked from forgejo/forgejo
parent
5326f4c9c5
commit
4a57c9ea17
8 changed files with 14 additions and 15 deletions
|
@ -253,7 +253,7 @@ func CheckPrsForBaseBranch(baseRepo *models.Repository, baseBranchName string) e
|
|||
|
||||
// Init runs the task queue to test all the checking status pull requests
|
||||
func Init() error {
|
||||
prQueue = queue.CreateUniqueQueue("pr_patch_checker", handle, "").(queue.UniqueQueue)
|
||||
prQueue = queue.CreateUniqueQueue("pr_patch_checker", handle, "")
|
||||
|
||||
if prQueue == nil {
|
||||
return fmt.Errorf("Unable to create pr_patch_checker Queue")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue