mirror of
https://github.com/go-gitea/gitea
synced 2025-07-13 22:17:20 +00:00
PullService lock via pullID (#19520)
* lock pull on git&db actions ... * add TODO notes * rename prQueue 2 prPatchCheckerQueue * fmt
This commit is contained in:
@ -27,7 +27,8 @@ import (
|
||||
|
||||
var (
|
||||
reservedWikiNames = []string{"_pages", "_new", "_edit", "raw"}
|
||||
wikiWorkingPool = sync.NewExclusivePool()
|
||||
// TODO: use clustered lock (unique queue? or *abuse* cache)
|
||||
wikiWorkingPool = sync.NewExclusivePool()
|
||||
)
|
||||
|
||||
func nameAllowed(name string) error {
|
||||
|
Reference in New Issue
Block a user