From 708858a4f5d28893a16a2c6bdb22a222fbe8b693 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sun, 21 May 2023 21:05:30 +0300 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6f89f24..6922612 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,7 @@ Arguments: - `--days`: number of days for which to grab the program (default: `1`) - `--delay`: delay between requests in milliseconds (default: `3000`) - `--timeout`: set a timeout for each request in milliseconds (default: `5000`) +- `--max-connections`: set a limit on the number of concurrent requests per site (default: `1`) - `--cache-ttl`: maximum time for storing each request in milliseconds (default: `0`) - `--gzip`: compress the output (default: `false`) - `--debug`: enable debug mode (default: `false`) @@ -97,6 +98,7 @@ module.exports = { lang: 'fr', // default language for all programs (default: 'en') days: 3, // number of days for which to grab the program (default: 1) delay: 5000, // delay between requests (default: 3000) + maxConnections: 200, // limit on the number of concurrent requests (default: 1) request: { // request options (details: https://github.com/axios/axios#request-config)