Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

githubhelper: Raise ListFiles responses PerPage to 300. #1555

Merged
merged 1 commit into from
Nov 25, 2019

Conversation

wlynch
Copy link
Contributor

@wlynch wlynch commented Nov 25, 2019

What this PR does, why we need it:
Raise ListFiles responses PerPage to 300.

This helps reduce the number of API requests necessary to list all files
out.

We ran into an issue with Tekton where a PR with many changed files exhausted its GitHub quota trying to fetch changed files in the PR. Even though we're currently not making authenticated requests with this tool, raising the PerPage response to 300 (the max value), helps reduce the calls to 13 instead of 60+.

Since the tool is trying to list all the files anyway, there's no harm in increasing this.

Which issue(s) this PR fixes:
n/a

Special notes to reviewers:

User-visible changes in this PR:
n/a

This helps reduce the number of API requests necessary to list all files
out.
@knative-prow-robot knative-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Nov 25, 2019
@chaodaiG
Copy link
Contributor

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 25, 2019
@knative-prow-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chaodaiG, wlynch

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 25, 2019
@knative-prow-robot knative-prow-robot merged commit 4aaba3b into knative:master Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants