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/16 09:30:58 UTC

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

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 6b10887bc fix: decrease page size for github graphql job collector (#4682)
6b10887bc is described below

commit 6b10887bc6c30556c68e00d6d7121e1ce1d3e993
Author: Likyh <ya...@meri.co>
AuthorDate: Thu Mar 16 17:30:52 2023 +0800

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

diff --git a/backend/plugins/github_graphql/tasks/job_collector.go b/backend/plugins/github_graphql/tasks/job_collector.go
index 9374a5595..8d3a1d285 100644
--- a/backend/plugins/github_graphql/tasks/job_collector.go
+++ b/backend/plugins/github_graphql/tasks/job_collector.go
@@ -140,7 +140,7 @@ func CollectGraphqlJobs(taskCtx plugin.SubTaskContext) errors.Error {
 
 	err = collectorWithState.InitGraphQLCollector(helper.GraphqlCollectorArgs{
 		Input:         iterator,
-		InputStep:     60,
+		InputStep:     20,
 		Incremental:   incremental,
 		GraphqlClient: data.GraphqlClient,
 		BuildQuery: func(reqData *helper.GraphqlRequestData) (interface{}, map[string]interface{}, error) {