Add more timeouts and sharter timeout

This commit is contained in:
Thomas Hu
2020-08-17 17:05:37 -04:00
parent fadbb25281
commit 2d80980946
3 changed files with 9 additions and 5 deletions

6
dist/index.js vendored
View File

@@ -2233,8 +2233,10 @@ try {
}
request({
url: "https://codecov.io/bash",
json: false
json: false,
maxAttempts: 5,
timeout: 3000,
url: "https://codecov.io/bash"
}, (error, response, body) => {
try {
if (error && fail_ci) {