ソースを参照

Preset new values with defaulting values from code

Guilhem Bonnefille 9 年 前
コミット
d571a9d204
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2
    0
      searx/settings.yml

+ 2
- 0
searx/settings.yml ファイルの表示

21
 outgoing: # communication with search engines
21
 outgoing: # communication with search engines
22
     request_timeout : 2.0 # seconds
22
     request_timeout : 2.0 # seconds
23
     useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator
23
     useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator
24
+    pool_connections : 100 # Number of different hosts
25
+    pool_maxsize : 10 # Number of simultaneous requests by host
24
 # uncomment below section if you want to use a proxy
26
 # uncomment below section if you want to use a proxy
25
 # see http://docs.python-requests.org/en/latest/user/advanced/#proxies
27
 # see http://docs.python-requests.org/en/latest/user/advanced/#proxies
26
 # SOCKS proxies are not supported : see https://github.com/kennethreitz/requests/pull/478
28
 # SOCKS proxies are not supported : see https://github.com/kennethreitz/requests/pull/478