From 257233d9f6026d28abd5613a7ae971982f6fa8cd Mon Sep 17 00:00:00 2001 From: Azeem Shaikh Date: Thu, 10 Feb 2022 17:51:13 -0800 Subject: [PATCH] Reduce query cost by analysing lesser associatedPR --- clients/githubrepo/graphql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/githubrepo/graphql.go b/clients/githubrepo/graphql.go index 6f66da4408b..5599f491dcd 100644 --- a/clients/githubrepo/graphql.go +++ b/clients/githubrepo/graphql.go @@ -28,7 +28,7 @@ import ( ) const ( - pullRequestsToAnalyze = 30 + pullRequestsToAnalyze = 1 issuesToAnalyze = 30 issueCommentsToAnalyze = 30 reviewsToAnalyze = 30