summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schauer <josch@debian.org>2018-02-23 22:20:54 +0100
committerJohannes Schauer <josch@debian.org>2018-02-23 22:20:54 +0100
commit728a7e0706c2d867a5de7247ea8c4c5f27bee346 (patch)
treef7b11f7b4366cc0acb5d17801691620d6852b852
parent5097903ee1082c8f5be9cc2b560ed2be591dc2f3 (diff)
Add "lazy-apps = true" to uwsgi configdebian/0.14.0+dfsg1-2archive/debian/0.14.0+dfsg1-2
-rw-r--r--debian/changelog7
-rw-r--r--debian/examples/uwsgi/apps-available/searx.ini4
2 files changed, 10 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 77952b6..01164fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+searx (0.14.0+dfsg1-2) unstable; urgency=medium
+
+ * Add "lazy-apps = true" to uwsgi config or otherwise searx searches will
+ timeout. See https://github.com/asciimoo/searx/issues/1210
+
+ -- Johannes Schauer <josch@debian.org> Fri, 23 Feb 2018 22:20:01 +0100
+
searx (0.14.0+dfsg1-1) unstable; urgency=medium
* New upstream release
diff --git a/debian/examples/uwsgi/apps-available/searx.ini b/debian/examples/uwsgi/apps-available/searx.ini
index e526354..480fd70 100644
--- a/debian/examples/uwsgi/apps-available/searx.ini
+++ b/debian/examples/uwsgi/apps-available/searx.ini
@@ -7,7 +7,7 @@ gid = www-data
#disable-logging = true
# Number of workers (usually CPU count)
-workers = 1
+workers = 4
# The right granted on the created socket
chmod-socket = 666
@@ -16,6 +16,8 @@ chmod-socket = 666
single-interpreter = true
master = true
plugin = python3
+enable-threads = true
+lazy-apps = true
# Module to import
module = searx.webapp