Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

Increase Node.js download timeout for external artifacts (#33643)

Michal Lukaszewskie9a28ced8849
diff --git a/src/bindings/js/node/scripts/lib/utils.js b/src/bindings/js/node/scripts/lib/utils.js
index de8f2e2ea60..dd9ba523c14 100644
--- a/src/bindings/js/node/scripts/lib/utils.js
+++ b/src/bindings/js/node/scripts/lib/utils.js
@@ -66,7 +66,7 @@ async function checkIfPathExists(path) {
function downloadFile(url, destination, filename, proxy = null) {
console.log(`Downloading file by link: ${url} to ${destination}` + `with filename: ${filename}`);
- const timeout = 5000;
+ const timeout = 30000;
const fullPath = path.resolve(destination, filename);
const file = createWriteStream(fullPath);