You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/searx
Alexandre Flament 72029d27de
[enh] Add timeout limit per request (#1640)
The new url parameter "timeout_limit" set timeout limit defined in second.
Example "timeout_limit=1.5" means the timeout limit is 1.5 seconds.

In addition, the query can start with <[number] to set the timeout limit.

For number between 0 and 99, the unit is the second :
Example: "<30 searx" means the timeout limit is 3 seconds

For number above 100, the unit is the millisecond:
Example: "<850 searx" means the timeout is 850 milliseconds.

In addition, there is a new optional setting: outgoing.max_request_timeout.
If not set, the user timeout can't go above searx configuration (as before: the max timeout of selected engine for a query).

If the value is set, the user can set a timeout between 0 and max_request_timeout using
<[number] or timeout_limit query parameter.

Related to #1077
Updated version of PR #1413 from @isj-privacore
5 years ago
..
answerers [fix] small fixes in preferences view's text 5 years ago
data [fix] fetch google's supported languages 6 years ago
engines [fix] fix flickr_noapi decoding (#1655) 5 years ago
plugins [enh] Add preference section to two upstream plugins for simple theme integration 6 years ago
static [enh] add invidious engine. (#1657) 5 years ago
templates [enh] Add timeout limit per request (#1640) 5 years ago
translations [fix] escape perecent signs in translation file (#1528) 5 years ago
__init__.py Add addr setup via SEARX_BIND_ADDRESS 5 years ago
autocomplete.py [fix] never pass bangs to autocomplete suggestions 5 years ago
exceptions.py [enh] validate input and raise an exception inside search.py. The exception message is output in json and rss format. 8 years ago
languages.py fix fetch_langauges to be more accurate 7 years ago
poolrequests.py [fix] measure request duration only if total_time attribute is set - fixes autocompleter 7 years ago
preferences.py [fix] preference query parameter decoding (#1599) 5 years ago
query.py [enh] Add timeout limit per request (#1640) 5 years ago
results.py [fix] don't merge image results if the img_src is different 5 years ago
search.py [enh] Add timeout limit per request (#1640) 5 years ago
settings.yml [enh] Add timeout limit per request (#1640) 5 years ago
settings_robot.yml Fix ./manage.sh robot_tests (#1633) 5 years ago
testing.py .travis.yml: robot tests: remove the xvfb dependency 5 years ago
url_utils.py minor fixes of pubmed engine 7 years ago
utils.py [fix] fix flickr_noapi decoding (#1655) 5 years ago
version.py update changelog and version.py 6 years ago
webapp.py [enh] Add timeout limit per request (#1640) 5 years ago