nginx: enable thread pools by default
PATCH 1/2 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 <[email protected]>
--- meta-webserver/recipes-httpd/nginx/nginx.inc | 1 + 1 file changed, 1 insertion(+)
meta-webserver/recipes-httpd/nginx/nginx.inc +1 -0
@@ -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}
Signature · 1 line
2.7.4
PATCH 2/2 nginx: remove the 1.13 recipe in favor of the new dev branch of 1.5.x
Signed-off-by Derek Straka <[email protected]>
--- meta-webserver/recipes-httpd/nginx/nginx_1.13.12.bb | 10 ---------- meta-webserver/recipes-httpd/nginx/nginx_1.15.1.bb | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.13.12.bb create mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.15.1.bb
meta-webserver/recipes-httpd/nginx/nginx_1.13.12.bb deleted +0 -10
@@ -1,10 +0,0 @@ -require nginx.inc - -# 1.14.x branch is the current stable branch, the recommended default -# 1.13.x is the current mainline branches containing all new features -DEFAULT_PREFERENCE = "-1" - -LIC_FILES_CHKSUM = "file://LICENSE;md5=3691402cc54ce09f800ca348634a2dfe" - -SRC_URI[md5sum] = "20871b2cf21a16dbfb83078b4dc2dde0" -SRC_URI[sha256sum] = "fb92f5602cdb8d3ab1ad47dbeca151b185d62eedb67d347bbe9d79c1438c85de"
meta-webserver/recipes-httpd/nginx/nginx_1.15.1.bb new file +10 -0
@@ -0,0 +1,10 @@ +require nginx.inc + +# 1.14.x branch is the current stable branch, the recommended default +# 1.15.x is the current mainline branches containing all new features +DEFAULT_PREFERENCE = "-1" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=3691402cc54ce09f800ca348634a2dfe" + +SRC_URI[md5sum] = "2dd5a265c54a76b699443931d80a61b9" +SRC_URI[sha256sum] = "c7206858d7f832b8ef73a45c9b8f8e436bcb1ee88db2bc85b8e438ecec9d5460"
Signature · 1 line
2.7.4