From 728a7e0706c2d867a5de7247ea8c4c5f27bee346 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Date: Fri, 23 Feb 2018 22:20:54 +0100 Subject: Add "lazy-apps = true" to uwsgi config --- debian/changelog | 7 +++++++ debian/examples/uwsgi/apps-available/searx.ini | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'debian') 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 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 -- cgit v1.2.3