From f9d1294b45dcae3a93b2f444805b94daa320fab9 Mon Sep 17 00:00:00 2001 From: Wang Yan Date: Thu, 14 Oct 2021 19:05:30 +0800 Subject: [PATCH] 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 --- src/pkg/reg/adapter/adapter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/reg/adapter/adapter.go b/src/pkg/reg/adapter/adapter.go index 69e7c0ea0..dbac8bc6e 100644 --- a/src/pkg/reg/adapter/adapter.go +++ b/src/pkg/reg/adapter/adapter.go @@ -26,7 +26,7 @@ import ( // const definition const ( - MaxConcurrency = 30 + MaxConcurrency = 100 ) var registry = map[string]Factory{}