Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-webserver][PATCH 1/2] nginx: enable thread pools by default
@ 2018-07-09 20:09 Derek Straka
  2018-07-09 20:09 ` [meta-webserver][PATCH 2/2] nginx: remove the 1.13 recipe in favor of the new dev branch of 1.5.x Derek Straka
  0 siblings, 1 reply; 2+ messages in thread
From: Derek Straka @ 2018-07-09 20:09 UTC (permalink / raw)
  To: openembedded-devel

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>
---
 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 e6ae52a..f1b50bc 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}
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-09 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-09 20:09 [meta-webserver][PATCH 1/2] nginx: enable thread pools by default Derek Straka
2018-07-09 20:09 ` [meta-webserver][PATCH 2/2] nginx: remove the 1.13 recipe in favor of the new dev branch of 1.5.x Derek Straka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox