mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 03:52:36 +02:00
Move repoWorkPool outside rename/transfer repository (#9086)
* Move repoWorkPool outside rename/transfer repository * fix import * Fix test
This commit is contained in:
1 parent
9ff5b75559
commit
77730db257
5 files changed
+40
-54
No files matched your search
+2
-2
@@ -609,8 +609,8 @@ func (pr *PullRequest) testPatch(e Engine) (err error) {
|
||||
return nil
|
||||
}
|
||||
|
||||
repoWorkingPool.CheckIn(com.ToStr(pr.BaseRepoID))
|
||||
defer repoWorkingPool.CheckOut(com.ToStr(pr.BaseRepoID))
|
||||
RepoWorkingPool.CheckIn(com.ToStr(pr.BaseRepoID))
|
||||
defer RepoWorkingPool.CheckOut(com.ToStr(pr.BaseRepoID))
|
||||
|
||||
log.Trace("PullRequest[%d].testPatch (patchPath): %s", pr.ID, patchPath)
|
||||
|
||||
|
||||
Reference in new issue
Block a user