mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 02:38:35 +00:00
modules/sync: rename SingleInstancePool to ExclusivePool
This commit is contained in:
@@ -40,7 +40,7 @@ const (
|
||||
_TPL_UPDATE_HOOK = "#!/usr/bin/env %s\n%s update $1 $2 $3 --config='%s'\n"
|
||||
)
|
||||
|
||||
var repoWorkingPool = sync.NewSingleInstancePool()
|
||||
var repoWorkingPool = sync.NewExclusivePool()
|
||||
|
||||
var (
|
||||
ErrRepoFileNotExist = errors.New("Repository file does not exist")
|
||||
|
@@ -21,7 +21,7 @@ import (
|
||||
"github.com/gogits/gogs/modules/sync"
|
||||
)
|
||||
|
||||
var wikiWorkingPool = sync.NewSingleInstancePool()
|
||||
var wikiWorkingPool = sync.NewExclusivePool()
|
||||
|
||||
// ToWikiPageURL formats a string to corresponding wiki URL name.
|
||||
func ToWikiPageURL(name string) string {
|
||||
|
Reference in New Issue
Block a user