From 7cb4eb4a95b2fdca48b4bdc65506f57e540c7e2d Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Mon, 9 Jul 2018 16:09:45 -0400 Subject: 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 Signed-off-by: Khem Raj --- meta-webserver/recipes-httpd/nginx/nginx.inc | 1 + 1 file changed, 1 insertion(+) 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} -- cgit 1.2.3-korg