From b3f5b16dd1c3aa1015aeb9b69eb3dd163f478a23 Mon Sep 17 00:00:00 2001 From: Pavel Golubev Date: Thu, 15 Jul 2021 17:52:45 +0300 Subject: [PATCH] fix ignore of --parallel-pool-size flag --- server/events/project_command_pool_executor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/events/project_command_pool_executor.go b/server/events/project_command_pool_executor.go index 8c83ea0aaa..1c1eb24844 100644 --- a/server/events/project_command_pool_executor.go +++ b/server/events/project_command_pool_executor.go @@ -17,7 +17,7 @@ func runProjectCmdsParallel( var results []models.ProjectResult mux := &sync.Mutex{} - wg := sizedwaitgroup.New(15) + wg := sizedwaitgroup.New(poolSize) for _, pCmd := range cmds { pCmd := pCmd var execute func()