[mod] refactoring: processors

searx.search.processor.abstract.EngineProcessor:
* manages suspend time
* adds the results to the ResultContainer (extend_container method)
* handles exceptions (handle_exception method)
This commit is contained in:
Alexandre Flament 2021-04-13 15:21:53 +02:00
parent 01cefffbf6
commit 015401be3d
6 changed files with 118 additions and 122 deletions

View file

@ -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,