gogs / git-module

Package git-module is a Go module for Git access through shell commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to limit goroutine number

thibaultmeyer opened this issue · comments

Implement ability to limit the goroutine number on the method GetCommitsInfo. Now, the concurrency goroutine number is hard-coded to 10. Performance regarding, its not a valid value on medium specs computers (usually 2 - 8 core not 10).

Fixed by #26