diff --git a/time_to_first_response.py b/time_to_first_response.py index b3c20c1..a5295ca 100644 --- a/time_to_first_response.py +++ b/time_to_first_response.py @@ -48,7 +48,7 @@ def measure_time_to_first_response( # Get the first comment time if issue: comments = issue.issue.comments( - number=1, sort="created", direction="asc" + number=20, sort="created", direction="asc" ) # type: ignore for comment in comments: if comment.user.login in ignore_users: @@ -59,7 +59,7 @@ def measure_time_to_first_response( # so we may also get the first review comment time if issue.issue.pull_request_urls: pull_request = issue.issue.pull_request() - review_comments = pull_request.reviews(number=1) # type: ignore + review_comments = pull_request.reviews(number=50) # type: ignore for review_comment in review_comments: if review_comment.user.login in ignore_users: continue