We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db4c1b0 commit b4bed15Copy full SHA for b4bed15
1 file changed
scripts/get_contributors.js
@@ -17,8 +17,8 @@ module.exports = async function (filepath) {
17
return false
18
},
19
onSecondaryRateLimit: (retryAfter, options, octokit) => {
20
- // does not retry, only logs a warning
21
- octokit.log.warn(`SecondaryRateLimit hit for request ${options.method} ${options.url}`)
+ octokit.log.warn(`SecondaryRateLimit hit for request ${options.method} ${options.url}, retrying after ${retryAfter} seconds`)
+ return true
22
23
24
})
0 commit comments