summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rel/haproxy.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/rel/haproxy.cfg b/rel/haproxy.cfg
index 540075761..3cddd10af 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