diff options
author | Unknwon <u@gogs.io> | 2016-08-30 15:19:53 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-30 15:19:53 -0700 |
commit | 43297148b22b976d9cec0c56c863a704f3691c0e (patch) | |
tree | 230bce7c66ae688c447684357bf8bd7cc0315211 /models/repo.go | |
parent | c0c1a4b01b4dee3cc85d26f4081ff0a456a16b38 (diff) | |
download | gitea-43297148b22b976d9cec0c56c863a704f3691c0e.tar.gz gitea-43297148b22b976d9cec0c56c863a704f3691c0e.zip |
modules/sync: rename SingleInstancePool to ExclusivePool
Diffstat (limited to 'models/repo.go')
-rw-r--r-- | models/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go index a26ba92482..8c6f86dafc 100644 --- a/models/repo.go +++ b/models/repo.go @@ -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") |