Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Increase file download timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume committed Dec 17, 2021
1 parent bd11bb8 commit 6e3a3f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"lint": "eslint -c .eslintrc.js --ext .js,.ts .",
"format": "prettier {src,test}/**/*.{ts,js,scss,html} --check",
"test": "ts-mocha -p ./tsconfig-build.json --timeout 20000 --forbid-only --file test/libs/setup.ts test/**/*.spec.ts",
"test": "ts-mocha -p ./tsconfig-build.json --timeout 35000 --forbid-only --file test/libs/setup.ts test/**/*.spec.ts",
"build": "rm -rf dist && tsc -p tsconfig-build.json && oclif-dev manifest"
},
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/libs/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const parseDataFile = async (
loadedData = await readJSONFile(filePath, 'utf-8');
} else {
const { data: responseData } = await axios.get(filePath, {
timeout: 10000
timeout: 30000
});

loadedData =
Expand Down

0 comments on commit 6e3a3f0

Please sign in to comment.