neon_arch commited on
Commit
130e9a1
β€’
1 Parent(s): 71c890b

πŸ“œ docs: update the docs to provide information on the new config option

Browse files
Files changed (2) hide show
  1. docs/configuration.md +1 -0
  2. docs/installation.md +1 -0
docs/configuration.md CHANGED
@@ -29,6 +29,7 @@ Some of the configuration options provided in the file are stated below. These a
29
  - **port:** Port number on which server should be launched.
30
  - **binding_ip_addr:** IP address on the which server should be launched.
31
  - **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**.
 
32
 
33
  ## Website
34
 
 
29
  - **port:** Port number on which server should be launched.
30
  - **binding_ip_addr:** IP address on the which server should be launched.
31
  - **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**.
32
+ - **request_timeout:** Timeout for the search requests sent to the upstream search engines to be fetched (value in seconds).
33
 
34
  ## Website
35
 
docs/installation.md CHANGED
@@ -86,6 +86,7 @@ binding_ip_addr = "0.0.0.0" --ip address on the which server should be launched.
86
  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)
87
  -- if production_use is set to true
88
  -- 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.
 
89
 
90
  -- ### Website ###
91
  -- The different colorschemes provided are:
 
86
  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)
87
  -- if production_use is set to true
88
  -- 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.
89
+ request_timeout = 60 -- timeout for the search requests sent to the upstream search engines to be fetched (value in seconds).
90
 
91
  -- ### Website ###
92
  -- The different colorschemes provided are: