mirror of
https://github.com/openzim/zimit.git
synced 2025-09-26 06:13:41 -04:00
bump timeout to 90s, per suggestions in #20
This commit is contained in:
parent
9e9ec82ad1
commit
e608cbd71e
6
index.js
6
index.js
@ -108,6 +108,9 @@ async function run(params) {
|
|||||||
|
|
||||||
await cluster.idle();
|
await cluster.idle();
|
||||||
await cluster.close();
|
await cluster.close();
|
||||||
|
|
||||||
|
// extra wait for all resources to land into WARCs
|
||||||
|
await sleep(30000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -247,7 +250,7 @@ async function main() {
|
|||||||
|
|
||||||
"timeout": {
|
"timeout": {
|
||||||
describe: "Timeout for each page to load (in millis)",
|
describe: "Timeout for each page to load (in millis)",
|
||||||
default: 30000,
|
default: 90000,
|
||||||
type: "number",
|
type: "number",
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -263,6 +266,7 @@ async function main() {
|
|||||||
describe: "If set, will autoscroll to bottom of the page",
|
describe: "If set, will autoscroll to bottom of the page",
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
default: false,
|
default: false,
|
||||||
|
|
||||||
}}).check((argv, option) => {
|
}}).check((argv, option) => {
|
||||||
// Scope for crawl, default to the domain of the URL
|
// Scope for crawl, default to the domain of the URL
|
||||||
const url = new URL(argv.url);
|
const url = new URL(argv.url);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user