searxng/searx/templates/oscar
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
2019-08-02 13:50:51 +02:00
..
messages show engine errors when no result is returned at all 2017-07-15 17:59:50 +02:00
result_templates [mod] restore btdigg engine as btdig.com (#1515) 2019-07-25 08:40:48 +02:00
404.html [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
about.html [mod] add a __common__ template that can't be selected but that provides a common place for shared templates. 2017-01-20 15:40:38 +01:00
advanced.html [enh] search input design mods according to #226 2017-01-26 21:12:41 +01:00
base.html add links to footers of oscar and simple themes 2017-12-12 22:02:23 +01:00
categories.html [fix] menu without js - closes #747 2016-11-01 23:12:46 +01:00
index.html [fix] logo responsivity ++ preferences button hover 2016-06-26 14:12:35 +02:00
infobox.html [fix] links in new tabs without js ++ noopener bug fix - closes #674 2016-09-04 15:57:43 +02:00
languages.html Revert "remove 'all' option from search languages" 2019-01-07 21:19:00 +01:00
macros.html Remove extra / in url_for parameter for oscar theme 2017-10-18 23:44:11 -04:00
navbar.html [enh] make navbar smaller 2017-01-26 23:52:00 +01:00
preferences.html refactor engine's search language handling 2018-03-27 00:08:03 -06:00
results.html [enh] Add timeout limit per request (#1640) 2019-08-02 13:50:51 +02:00
search_full.html [fix] wrap categories on small screens ++ some code formatting - closes #647 2016-07-27 02:08:24 +02:00
search.html [enh] search input design mods according to #226 2017-01-26 21:12:41 +01:00
stats.html oscar template: update messages 2014-10-05 14:40:46 +02:00
time-range.html [enh] search input design mods according to #226 2017-01-26 21:12:41 +01:00