diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2023-06-25 12:37:31 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-06-25 13:58:26 +0200 |
commit | e8706fb738da9feb21e596f403dddb40e69c8a7b (patch) | |
tree | 1ddf3dbd2860d65de879d9feecf7df01a7727680 /searx/settings_defaults.py | |
parent | 2e4a435134e0f677fbe24853dd81453a54770674 (diff) | |
download | searxng-e8706fb738da9feb21e596f403dddb40e69c8a7b.tar.gz searxng-e8706fb738da9feb21e596f403dddb40e69c8a7b.zip |
[fix] engine & network issues / documentation and type annotations
This patch fixes some quirks and issues related to the engines and the network.
Each engine has its own network and this network was broken for the following
engines[1]:
- archlinux
- bing
- dailymotion
- duckduckgo
- google
- peertube
- startpage
- wikipedia
Since the files have been touched anyway, the type annotaions of the engine
modules has also been completed so that error messages from the type checker are
no longer reported.
Related and (partial) fixed issue:
- [1] https://github.com/searxng/searxng/issues/762#issuecomment-1605323861
- [2] https://github.com/searxng/searxng/issues/2513
- [3] https://github.com/searxng/searxng/issues/2515
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/settings_defaults.py')
-rw-r--r-- | searx/settings_defaults.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/searx/settings_defaults.py b/searx/settings_defaults.py index 7f657aa54..5d978d0e0 100644 --- a/searx/settings_defaults.py +++ b/searx/settings_defaults.py @@ -209,9 +209,7 @@ SCHEMA = { 'enable_http2': SettingsValue(bool, True), 'verify': SettingsValue((bool, str), True), 'max_request_timeout': SettingsValue((None, numbers.Real), None), - # Magic number kept from previous code 'pool_connections': SettingsValue(int, 100), - # Picked from constructor 'pool_maxsize': SettingsValue(int, 10), 'keepalive_expiry': SettingsValue(numbers.Real, 5.0), # default maximum redirect |