Skip to content

Commit

Permalink
repo sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Octomerger authored Dec 16, 2020
2 parents 81409b5 + 4bcc362 commit 5810c23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
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

0 comments on commit 5810c23

Please sign in to comment.