File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1498,8 +1498,9 @@ exports.throttleOptions = {
1498
1498
return true;
1499
1499
}
1500
1500
},
1501
- onSecondaryRateLimit: (_ , options) => {
1501
+ onSecondaryRateLimit: (retryAfter , options) => {
1502
1502
core.warning(`Hit secondary rate limit for request ${options.method} ${options.url}`);
1503
+ core.warning(`Requests may be retried after ${retryAfter} seconds.`);
1503
1504
}
1504
1505
};
1505
1506
const proxyFetch = (proxyUrl) => (url, opts) => {
Original file line number Diff line number Diff line change @@ -25,10 +25,11 @@ export const throttleOptions = {
25
25
return true
26
26
}
27
27
} ,
28
- onSecondaryRateLimit : ( _ , options ) => {
28
+ onSecondaryRateLimit : ( retryAfter , options ) => {
29
29
core . warning (
30
30
`Hit secondary rate limit for request ${ options . method } ${ options . url } `
31
31
)
32
+ core . warning ( `Requests may be retried after ${ retryAfter } seconds.` )
32
33
}
33
34
}
34
35
You can’t perform that action at this time.
0 commit comments