alamin655 commited on
Commit
a22adb4
1 Parent(s): 705ba81

Update config.lua

Browse files
Files changed (1) hide show
  1. websurfx/config.lua +3 -3
websurfx/config.lua CHANGED
@@ -5,13 +5,13 @@ threads = 10 -- the amount of threads that the app will use to run (the value sh
5
 
6
  -- ### Server ###
7
  port = "8080" -- port on which server should be launched
8
- binding_ip = "127.0.0.1" --ip address on the which server should be launched.
9
  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 (more than one))
10
  -- if production_use is set to true
11
  -- 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.
12
  request_timeout = 30 -- timeout for the search requests sent to the upstream search engines to be fetched (value in seconds).
13
  rate_limiter = {
14
- number_of_requests = 20, -- The number of request that are allowed within a provided time limit.
15
  time_limit = 3, -- The time limit in which the quantity of requests that should be accepted.
16
  }
17
 
@@ -24,7 +24,7 @@ rate_limiter = {
24
  -- 3 - High
25
  -- 4 - Aggressive
26
  -- }}
27
- safe_search = 2
28
 
29
  -- ### Website ###
30
  -- The different colorschemes provided are:
 
5
 
6
  -- ### Server ###
7
  port = "8080" -- port on which server should be launched
8
+ binding_ip = "0.0.0.0" --ip address on the which server should be launched.
9
  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 (more than one))
10
  -- if production_use is set to true
11
  -- 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.
12
  request_timeout = 30 -- timeout for the search requests sent to the upstream search engines to be fetched (value in seconds).
13
  rate_limiter = {
14
+ number_of_requests = 50, -- The number of request that are allowed within a provided time limit.
15
  time_limit = 3, -- The time limit in which the quantity of requests that should be accepted.
16
  }
17
 
 
24
  -- 3 - High
25
  -- 4 - Aggressive
26
  -- }}
27
+ safe_search = 0
28
 
29
  -- ### Website ###
30
  -- The different colorschemes provided are: