You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2020/11/01 22:13:25 UTC

[couchdb] 01/01: Improve haproxy config for v1.8+

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch better-haproxy-cfg-3.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 849297d15c5ef9267b6f37b726962ac0900dd68c
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Sun Nov 1 17:12:59 2020 -0500

    Improve haproxy config for v1.8+
---
 rel/haproxy.cfg | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/rel/haproxy.cfg b/rel/haproxy.cfg
index 5400757..3cddd10 100644
--- a/rel/haproxy.cfg
+++ b/rel/haproxy.cfg
@@ -13,6 +13,10 @@
 global
         maxconn 512
         spread-checks 5
+        nbproc 1
+        # Set to number of cores on the machine. Supported in HAProxy 1.8+ only.
+        nbthreads 4
+        daemon
 
 defaults
         mode http