mirror of
https://git.mirrors.martin98.com/https://github.com/cyberman54/curl
synced 2025-08-22 02:59:13 +08:00
fix sleep
This commit is contained in:
parent
c2d9bb82a5
commit
9b072b60e1
@ -40,7 +40,7 @@ export const sendRequestWithRetry = (config: AxiosRequestConfig): void => {
|
||||
countRetry += 1
|
||||
core.info(`retry: ${countRetry}`)
|
||||
if (countRetry <= numberOfRetry) {
|
||||
sleep(backoff)
|
||||
sleep(backoff * 1000)
|
||||
} else {
|
||||
exit = true
|
||||
core.setFailed(err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user