This is an automated email from the ASF dual-hosted git repository.

warren pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 71712202 fix(gitlab): limit concurrency for pipeline collector
71712202 is described below

commit 717122025aa61116be0eed311bfbaeefadf0eca8
Author: Yingchu Chen <[email protected]>
AuthorDate: Mon Sep 26 16:15:23 2022 +0800

    fix(gitlab): limit concurrency for pipeline collector
    
    closes #3192
---
 plugins/gitlab/tasks/pipeline_collector.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/gitlab/tasks/pipeline_collector.go 
b/plugins/gitlab/tasks/pipeline_collector.go
index 7ea3b685..04c32416 100644
--- a/plugins/gitlab/tasks/pipeline_collector.go
+++ b/plugins/gitlab/tasks/pipeline_collector.go
@@ -39,6 +39,7 @@ func CollectApiPipelines(taskCtx core.SubTaskContext) 
errors.Error {
        collector, err := helper.NewApiCollector(helper.ApiCollectorArgs{
                RawDataSubTaskArgs: *rawDataSubTaskArgs,
                ApiClient:          data.ApiClient,
+               Concurrency:        5,
                PageSize:           100,
                Incremental:        false,
                UrlTemplate:        "projects/{{ .Params.ProjectId 
}}/pipelines",

Reply via email to