Browse Source

add timeout errors in search_multiple_requests

Noémi Ványi 7 years ago
parent
commit
80331cc8e6
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      searx/search.py

+ 1
- 0
searx/search.py View File

179
             remaining_time = max(0.0, timeout_limit - (time() - start_time))
179
             remaining_time = max(0.0, timeout_limit - (time() - start_time))
180
             th.join(remaining_time)
180
             th.join(remaining_time)
181
             if th.isAlive():
181
             if th.isAlive():
182
+                result_container.add_unresponsive_engine((th._engine_name, gettext('timeout')))
182
                 logger.warning('engine timeout: {0}'.format(th._engine_name))
183
                 logger.warning('engine timeout: {0}'.format(th._engine_name))
183
 
184
 
184
 
185