Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/repo-sync-stalls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
const timeDelta = Date.now() - Date.parse(pr.created_at);
const minutesOpen = timeDelta / 1000 / 60;

if (minutesOpen > 30) {
if (minutesOpen > 180) {
core.setFailed('Repo sync appears to be stalled')
}
})
Expand Down
10 changes: 2 additions & 8 deletions content/graphql/overview/resource-limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ These two examples show how to calculate the total nodes in a call.

= 22,060 total nodes</pre>

### Rate limit
## Rate limit

The GraphQL API v4 limit is different from the REST API v3's [rate limits](/rest/overview/resources-in-the-rest-api#rate-limiting).

Expand All @@ -136,13 +136,7 @@ To accurately represent the server cost of a query, the GraphQL API v4 calculate
* The formula uses the `first` and `last` arguments on a parent connection and its children to pre-calculate the potential load on GitHub's systems, such as MySQL, ElasticSearch, and Git.
* Each new connection has its own point value. Points are combined with other points from the call into an overall rate limit score.

The GraphQL API v4 rate limit is **5,000 points per hour**.

{% if currentVersion == "free-pro-team@latest" %}

For {% data variables.product.prodname_github_apps %} or {% data variables.product.prodname_oauth_app %}s that belong to a {% data variables.product.prodname_ghe_cloud %} account, requests to resources owned by the same {% data variables.product.prodname_ghe_cloud %} account have an increased limit of 15,000 points per hour.

{% endif %}
The GraphQL API v4 rate limit is **5,000 points per hour**.

Note that 5,000 points per hour is not the same as 5,000 calls per hour: the GraphQL API v4 and REST API v3 use different rate limits.

Expand Down