From 425e2d22ec41533cd4e0ee58daa98e83534911d8 Mon Sep 17 00:00:00 2001 From: garrrikkotua Date: Mon, 7 Oct 2024 11:24:39 +0400 Subject: [PATCH] descrease PRs per page --- .../src/integrations/github/api/graphql/pullRequests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/libs/integrations/src/integrations/github/api/graphql/pullRequests.ts b/services/libs/integrations/src/integrations/github/api/graphql/pullRequests.ts index 3ca8ef9bd2..5a8da81b86 100644 --- a/services/libs/integrations/src/integrations/github/api/graphql/pullRequests.ts +++ b/services/libs/integrations/src/integrations/github/api/graphql/pullRequests.ts @@ -5,7 +5,7 @@ import BaseQuery from './baseQuery' class PullRequestsQuery extends BaseQuery { repo: Repo - constructor(repo: Repo, githubToken: string, perPage = 20) { + constructor(repo: Repo, githubToken: string, perPage = 5) { const pullRequestsQuery = `{ repository(owner: "${repo.owner}", name: "${repo.name}") { pullRequests(last: ${perPage}, \${beforeCursor}) {