Skip to content

Commit

Permalink
remove nbproc option from haproxy configuration
Browse files Browse the repository at this point in the history
Since HAProxy 2.5, nbproc option was removed.
As it is set to 1, which is the default value, and that
nbthread option is set, as recommended by haproxy, remove
the option so that it stays compatible for any haproxy version
higher than 2.0.
  • Loading branch information
mougams committed Sep 14, 2022
1 parent dce798a commit 7b93995
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion haproxy/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ var defaultsHAProxyParams = HAProxyParams{
Globals: map[string]string{
"stats": "timeout 2m",
"tune.ssl.default-dh-param": "1024",
"nbproc": "1",
"nbthread": fmt.Sprint(runtime.GOMAXPROCS(0)),
"ulimit-n": "65536",
"maxconn": "32000",
Expand Down

0 comments on commit 7b93995

Please sign in to comment.