summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-09-05 22:44:48 +0200
committerAdam Tauber <asciimoo@gmail.com>2016-09-05 22:46:25 +0200
commitfa5bc3a5632d38a99a48782dd8a012a200534bb9 (patch)
tree7692c8e9638506437eac5353805fa5ec057cd119 /searx/webapp.py
parentb27f07af2366db61ad8754005f8138f980606196 (diff)
downloadsearxng-fa5bc3a5632d38a99a48782dd8a012a200534bb9.tar.gz
searxng-fa5bc3a5632d38a99a48782dd8a012a200534bb9.zip
[fix] use threading to recover after incomplete request crashes - closes #651 #662
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 362f6e502..f76281a5d 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -729,7 +729,8 @@ def run():
debug=settings['general']['debug'],
use_debugger=settings['general']['debug'],
port=settings['server']['port'],
- host=settings['server']['bind_address']
+ host=settings['server']['bind_address'],
+ threaded=True
)