mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
increase request timeout
This commit is contained in:
parent
0e4168908c
commit
2bd152678b
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ errors.forEach(e => {
|
||||||
if (errors.length) {
|
if (errors.length) {
|
||||||
core.setFailed('Action failed with validation errors, see logs');
|
core.setFailed('Action failed with validation errors, see logs');
|
||||||
}
|
}
|
||||||
const REQUEST_TIMEOUT = 5000;
|
const REQUEST_TIMEOUT = 10000;
|
||||||
|
|
||||||
function getStatusCode(url) {
|
function getStatusCode(url) {
|
||||||
const client = url.startsWith('https') ? https : http;
|
const client = url.startsWith('https') ? https : http;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue