Update test.js

This commit is contained in:
freearhey 2021-05-06 02:10:28 +03:00
parent 96837d3753
commit 261073109a

View File

@ -11,14 +11,14 @@ program
.option('-c, --country <country>', 'Comma-separated list of country codes', '')
.option('-e, --exclude <exclude>', 'Comma-separated list of country codes to be excluded', '')
.option('--delay <delay>', 'Delay between parser requests', 1000)
.option('--timeout <timeout>', 'Set timeout for each request', 5000)
.option('--timeout <timeout>', 'Set timeout for each request', 60000)
.parse(process.argv)
const config = program.opts()
const instance = axios.create({
timeout: config.timeout,
maxContentLength: 20000,
maxContentLength: 200000,
httpsAgent: new https.Agent({
rejectUnauthorized: false
}),