aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2018-07-09 16:09:45 -0400
committerKhem Raj <raj.khem@gmail.com>2018-07-12 07:19:42 -0700
commit7cb4eb4a95b2fdca48b4bdc65506f57e540c7e2d (patch)
treed85e7adaec86b966a2078da3d9da6c27674e4607
parent5a5c0df3f6b82d8b468a524da4dfbb6896d50b66 (diff)
downloadmeta-openembedded-7cb4eb4a95b2fdca48b4bdc65506f57e540c7e2d.tar.gz
nginx: enable thread pools by default
The thread pool feature can be enabled without significant extra binary size. Thread pools can increase performance by an order of magnitude on some configurations Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-webserver/recipes-httpd/nginx/nginx.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc
index e6ae52a09f..f1b50bcde7 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -71,6 +71,7 @@ do_configure () {
--http-scgi-temp-path=/run/nginx/scgi_temp \
--pid-path=/run/nginx/nginx.pid \
--prefix=${prefix} \
+ --with-threads \
--with-http_ssl_module \
--with-http_gzip_static_module \
${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS}