You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by wa...@apache.org on 2023/03/15 05:56:21 UTC

[incubator-devlake] branch main updated: fix: decrease page size for github graphql pr collector (#4668)

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 4519ba86b fix: decrease page size for github graphql pr collector (#4668)
4519ba86b is described below

commit 4519ba86b0260027a71b9356af0e85941afa8e95
Author: Likyh <ya...@meri.co>
AuthorDate: Wed Mar 15 13:56:16 2023 +0800

    fix: decrease page size for github graphql pr collector (#4668)
---
 backend/plugins/github_graphql/tasks/pr_collector.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/plugins/github_graphql/tasks/pr_collector.go b/backend/plugins/github_graphql/tasks/pr_collector.go
index a71ea1c2e..c9e605b2a 100644
--- a/backend/plugins/github_graphql/tasks/pr_collector.go
+++ b/backend/plugins/github_graphql/tasks/pr_collector.go
@@ -164,7 +164,7 @@ func CollectPr(taskCtx plugin.SubTaskContext) errors.Error {
 
 	err = collectorWithState.InitGraphQLCollector(api.GraphqlCollectorArgs{
 		GraphqlClient: data.GraphqlClient,
-		PageSize:      30,
+		PageSize:      10,
 		Incremental:   incremental,
 		/*
 			(Optional) Return query string for request, or you can plug them into UrlTemplate directly