This commit is contained in:
Wathanyu Phromma
2020-05-29 20:56:42 +07:00
parent 8d1a2d0bd5
commit 3c35300d8d
3 changed files with 11 additions and 16 deletions

View File

@@ -35,7 +35,7 @@ export const sendRequestWithRetry = (config: AxiosRequestConfig) => {
countRetry += 1
core.info(`retry: ${countRetry}`)
if (countRetry <= numberOfRetry) {
await sleep(backoff * 1000)
//await sleep(backoff * 1000)
} else {
exit = true
core.setFailed(err)