Skip to content

Commit ba9406e

Browse files
chore: add comment with issue link to the retryer rate limit detection logic (anuraghazra#4508)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
1 parent 3ce1fd7 commit ba9406e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/common/retryer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const retryer = async (fetcher, variables, retries = 0) => {
4242
);
4343

4444
// react on both type and message-based rate-limit signals.
45+
// https://github.com/anuraghazra/github-readme-stats/issues/4425
4546
const errors = response?.data?.errors;
4647
const errorType = errors?.[0]?.type;
4748
const errorMsg = errors?.[0]?.message || "";

0 commit comments

Comments
 (0)