Skip to content

Commit

Permalink
chore: add note
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Oct 30, 2022
1 parent dbeed6b commit 3017285
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/no-dead-link.ts
Expand Up @@ -231,6 +231,7 @@ const createCheckAliveURL = (ruleOptions: Options) => {
if (currentRetryCount < maxRetryCount) {
const retryAfter = res.headers.get("Retry-After");
// If the response has `Retry-After` header, prefer it
// e.g. Retry-After: 60 and `maxRetryAfterTime: 90`, wait 60 seconds
if (retryAfter) {
const retryAfterMs = Number(retryAfter) * 1000;
const maxRetryAfterTimeMs = ruleOptions.maxRetryAfterTime * 1000;
Expand Down

0 comments on commit 3017285

Please sign in to comment.