Skip to content

Commit 5810c23

Browse files
authored
repo sync
2 parents 81409b5 + 4bcc362 commit 5810c23

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.github/workflows/repo-sync-stalls.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
const timeDelta = Date.now() - Date.parse(pr.created_at);
4141
const minutesOpen = timeDelta / 1000 / 60;
4242
43-
if (minutesOpen > 30) {
43+
if (minutesOpen > 180) {
4444
core.setFailed('Repo sync appears to be stalled')
4545
}
4646
})

content/graphql/overview/resource-limitations.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ These two examples show how to calculate the total nodes in a call.
125125

126126
= 22,060 total nodes</pre>
127127

128-
### Rate limit
128+
## Rate limit
129129

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

@@ -136,13 +136,7 @@ To accurately represent the server cost of a query, the GraphQL API v4 calculate
136136
* 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.
137137
* Each new connection has its own point value. Points are combined with other points from the call into an overall rate limit score.
138138

139-
The GraphQL API v4 rate limit is **5,000 points per hour**.
140-
141-
{% if currentVersion == "free-pro-team@latest" %}
142-
143-
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.
144-
145-
{% endif %}
139+
The GraphQL API v4 rate limit is **5,000 points per hour**.
146140

147141
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.
148142

0 commit comments

Comments
 (0)