1
0
Fork 0
forked from forgejo/forgejo

bug fix release

This commit is contained in:
Lunny Xiao 2017-01-09 23:51:21 +08:00 committed by Kim "BKC" Carlbäcker
parent b316b2e740
commit 7209917fd7
5 changed files with 14 additions and 9 deletions

View file

@ -162,7 +162,7 @@ func (tes Entries) GetCommitsInfo(commit *Commit, treePath string) ([][]interfac
// GetCommitsInfoWithCustomConcurrency takes advantages of concurrency to speed up getting information
// of all commits that are corresponding to these entries. If the given maxConcurrency is negative or
// equal to zero: the right number of goroutine (concurrency) to use will be choosen related of the
// equal to zero: the right number of goroutine (concurrency) to use will be chosen related of the
// host CPU.
func (tes Entries) GetCommitsInfoWithCustomConcurrency(commit *Commit, treePath string, maxConcurrency int) ([][]interface{}, error) {
if len(tes) == 0 {