You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by li...@apache.org on 2023/03/15 05:58:56 UTC
[incubator-devlake] branch release-v0.16 updated: fix: decrease page size for github graphql pr collector (#4668) (#4669)
This is an automated email from the ASF dual-hosted git repository.
likyh pushed a commit to branch release-v0.16
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.16 by this push:
new 6dd8435e0 fix: decrease page size for github graphql pr collector (#4668) (#4669)
6dd8435e0 is described below
commit 6dd8435e033dfff120b27c44f794f2562c7c6d0d
Author: Likyh <ya...@meri.co>
AuthorDate: Wed Mar 15 13:58:51 2023 +0800
fix: decrease page size for github graphql pr collector (#4668) (#4669)
---
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