summaryrefslogtreecommitdiff
path: root/searx/settings.py
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2013-11-03 00:31:03 +0100
committerasciimoo <asciimoo@gmail.com>2013-11-03 00:31:03 +0100
commita8797839a10b779bb5b57c27c8e50a48fc9d9a3b (patch)
treeee336848ab7015788224466f043db1676e84cb6b /searx/settings.py
parentc3c9d147cebba75a6f7116cdaa85a0e3f432a264 (diff)
[enh] request timeout added
Diffstat (limited to 'searx/settings.py')
-rw-r--r--searx/settings.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/searx/settings.py b/searx/settings.py
index 7c3c481e7..3d4e65f06 100644
--- a/searx/settings.py
+++ b/searx/settings.py
@@ -3,7 +3,9 @@ port = 8888
secret_key = "ultrasecretkey" # change this!
-debug = False
+debug = True
+
+request_timeout = 5.0 # seconds
weights = {} # 'search_engine_name': float(weight) | default is 1.0