From 130e9a19e536d3630062d1cff5e824802efca432 Mon Sep 17 00:00:00 2001 From: neon_arch Date: Sun, 30 Jul 2023 17:57:55 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9C=20docs:=20update=20the=20docs=20to?= =?UTF-8?q?=20provide=20information=20on=20the=20new=20config=20option?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/configuration.md | 1 + docs/installation.md | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index 736e35d..90b8ce8 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -29,6 +29,7 @@ Some of the configuration options provided in the file are stated below. These a - **port:** Port number on which server should be launched. - **binding_ip_addr:** IP address on the which server should be launched. - **production_use:** Whether to use production mode or not (in other words this option should be used if it is to be used to host it on the server to provide a service to a large number of users). If production_use is set to true. There will be a random delay before sending the request to the search engines, this is to prevent DDoSing the upstream search engines from a large number of simultaneous requests. This is newly added option and hence is only available in the **edge version**. +- **request_timeout:** Timeout for the search requests sent to the upstream search engines to be fetched (value in seconds). ## Website diff --git a/docs/installation.md b/docs/installation.md index 4353ee5..f77f040 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -86,6 +86,7 @@ binding_ip_addr = "0.0.0.0" --ip address on the which server should be launched. production_use = false -- whether to use production mode or not (in other words this option should be used if it is to be used to host it on the server to provide a service to a large number of users) -- if production_use is set to true -- There will be a random delay before sending the request to the search engines, this is to prevent DDoSing the upstream search engines from a large number of simultaneous requests. +request_timeout = 60 -- timeout for the search requests sent to the upstream search engines to be fetched (value in seconds). -- ### Website ### -- The different colorschemes provided are: