Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CNCF-Bot committed Jul 12, 2023
1 parent 3775e22 commit 2bda551
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/apiClients.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ const requestWithRetry = async ({ attempts = maxAttempts, resolveWithFullRespons
].join(' ')
if (key === keys[keys.length - 1]) {
console.info(message);
} else {
console.info(`Failed to use key #${keys.indexOf(key)} of ${keys.length}`);
}
const rateLimited = retryStatuses.includes(status)
const dnsError = error.code === 'ENOTFOUND' && error.syscall === 'getaddrinfo'
Expand Down

0 comments on commit 2bda551

Please sign in to comment.