Skip to content

Failing: hitting resource limit #123

Description

@samcunliffe
file:///home/runner/work/open-source-dashboard/open-source-dashboard/node_modules/@octokit/core/node_modules/@octokit/graphql/dist-bundle/index.js:89
      throw new GraphqlResponseError(
            ^

GraphqlResponseError: Request failed due to following response errors:
 - Resource limits for this query exceeded.
    at file:///home/runner/work/open-source-dashboard/open-source-dashboard/node_modules/@octokit/core/node_modules/@octokit/graphql/dist-bundle/index.js:89:13
    at async Object.next (file:///home/runner/work/open-source-dashboard/open-source-dashboard/node_modules/@octokit/plugin-paginate-graphql/dist-bundle/index.js:104:28)
    at async Function.paginate (file:///home/runner/work/open-source-dashboard/open-source-dashboard/node_modules/@octokit/plugin-paginate-graphql/dist-bundle/index.js:155:22)
    at async getIssueAndPrData (/home/runner/work/open-source-dashboard/open-source-dashboard/backend/src/fetchers/issues.ts:15:21)
    at async addIssueAndPrData (/home/runner/work/open-source-dashboard/open-source-dashboard/backend/src/fetchers/issues.ts:79:22)
    at async <anonymous> (/home/runner/work/open-source-dashboard/open-source-dashboard/backend/src/index.ts:91:18)
    at async <anonymous> (/home/runner/work/open-source-dashboard/open-source-dashboard/backend/src/index.ts:129:18) {
  errors: [
    {
      type: 'RESOURCE_LIMITS_EXCEEDED',
      path: [
        'organization',
        'repositories',
        'nodes',
        99,
        'mergedPullRequests'
      ],
      locations: [ { line: 30, column: 11 } ],
      message: 'Resource limits for this query exceeded.'
    }
  ],

Can we throttle??

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions