mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-22 23:51:27 +01:00
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:
parent
b390112f5a
commit
f9d1294b45
@ -26,7 +26,7 @@ import (
|
||||
|
||||
// const definition
|
||||
const (
|
||||
MaxConcurrency = 30
|
||||
MaxConcurrency = 100
|
||||
)
|
||||
|
||||
var registry = map[string]Factory{}
|
||||
|
Loading…
Reference in New Issue
Block a user