roll back the runner count (#15792)

It takes about 1 hour to perform data for 40000 repositories per performance testing.

Roll back the runner count to 100 could speed the data preparation time.
It's safe since it only takes 100 DB connection counts at most per execution per core.

Signed-off-by: Wang Yan <wangyan@vmware.com>
This commit is contained in:
Wang Yan 2021-10-14 19:05:30 +08:00 committed by GitHub
parent b390112f5a
commit f9d1294b45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ import (
// const definition
const (
MaxConcurrency = 30
MaxConcurrency = 100
)
var registry = map[string]Factory{}