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 198691b3 fix: set PageSize from 100 to 30
198691b3 is described below

commit 198691b3b93ef904f1caf0b6d7822132aab13a22
Author: zhangliang <[email protected]>
AuthorDate: Mon Sep 26 22:01:06 2022 +0800

    fix: set PageSize from 100 to 30
---
 plugins/github/tasks/cicd_run_collector.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/github/tasks/cicd_run_collector.go 
b/plugins/github/tasks/cicd_run_collector.go
index faa58e71..9233cf25 100644
--- a/plugins/github/tasks/cicd_run_collector.go
+++ b/plugins/github/tasks/cicd_run_collector.go
@@ -52,7 +52,7 @@ func CollectRuns(taskCtx core.SubTaskContext) errors.Error {
                        Table: RAW_RUN_TABLE,
                },
                ApiClient:   data.ApiClient,
-               PageSize:    100,
+               PageSize:    30,
                Incremental: false,
                UrlTemplate: "repos/{{ .Params.Owner }}/{{ .Params.Repo 
}}/actions/runs",
                Query: func(reqData *helper.RequestData) (url.Values, 
errors.Error) {

Reply via email to