diff options
author | Alexandre Flament <alex@al-f.net> | 2021-04-13 15:21:53 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-04-21 16:24:46 +0200 |
commit | aae7830d14242ac1f98232f428654c5d2c9c5eb2 (patch) | |
tree | 83df1950b7b5889fb17eda740a095022a816642e /searx/engines | |
parent | ae5954f2dad0386868709a59a1b29d005ebb2b2d (diff) | |
download | searxng-aae7830d14242ac1f98232f428654c5d2c9c5eb2.tar.gz searxng-aae7830d14242ac1f98232f428654c5d2c9c5eb2.zip |
[mod] refactoring: processors
Report to the user suspended engines.
searx.search.processor.abstract:
* manages suspend time (per network).
* reports suspended time to the ResultContainer (method extend_container_if_suspended)
* adds the results to the ResultContainer (method extend_container)
* handles exceptions (method handle_exception)
Diffstat (limited to 'searx/engines')
-rw-r--r-- | searx/engines/__init__.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py index 95eda6dde..730f8b837 100644 --- a/searx/engines/__init__.py +++ b/searx/engines/__init__.py @@ -51,8 +51,6 @@ engine_default_args = {'paging': False, 'shortcut': '-', 'disabled': False, 'enable_http': False, - 'suspend_end_time': 0, - 'continuous_errors': 0, 'time_range_support': False, 'engine_type': 'online', 'display_error_messages': True, |