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:24 UTC

[couchdb] branch better-haproxy-cfg-3.x created (now 849297d)

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

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


      at 849297d  Improve haproxy config for v1.8+

This branch includes the following new commits:

     new 849297d  Improve haproxy config for v1.8+

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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

Posted by wo...@apache.org.
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