output retryafter for secondary rate limit
This commit is contained in:
@ -25,10 +25,11 @@ export const throttleOptions = {
|
||||
return true
|
||||
}
|
||||
},
|
||||
onSecondaryRateLimit: (_, options) => {
|
||||
onSecondaryRateLimit: (retryAfter, options) => {
|
||||
core.warning(
|
||||
`Hit secondary rate limit for request ${options.method} ${options.url}`
|
||||
)
|
||||
core.warning(`Requests may be retried after ${retryAfter} seconds.`)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user