1
1
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:
Unknwon
2016-08-30 15:19:53 -07:00
parent c0c1a4b01b
commit 43297148b2
3 changed files with 12 additions and 11 deletions

View File

@@ -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")

View File

@@ -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 {