mirror of
https://git.mirrors.martin98.com/https://github.com/cyberman54/curl
synced 2026-04-03 17:23:38 +08:00
test
This commit is contained in:
@@ -32,9 +32,9 @@ export const sendRequestWithRetry = async (config: AxiosRequestConfig) => {
|
||||
exit = true
|
||||
} catch (err) {
|
||||
countRetry += 1
|
||||
core.info(`retry: ${countRetry}`)
|
||||
if (countRetry <= numberOfRetry) {
|
||||
//await sleep(backoff * 1000)
|
||||
core.info(`retry: ${countRetry}`)
|
||||
await sleep(backoff * 1000)
|
||||
} else {
|
||||
exit = true
|
||||
core.setFailed(err)
|
||||
|
||||
Reference in New Issue
Block a user