[galera] use same value for galera and haproxy max conn
Use same value for galera and haproxy max connection The extra connection will be dropped by haproxy instead of galera.
This commit is contained in:

committed by
Mehdi Abaakouk

parent
253aaeb138
commit
8ced994f79
@@ -491,6 +491,7 @@ class cloud::loadbalancer(
|
||||
ipaddress => $galera_ip,
|
||||
ports => 3306,
|
||||
options => {
|
||||
'maxconn' => '1000',
|
||||
'mode' => 'tcp',
|
||||
'balance' => 'roundrobin',
|
||||
'option' => ['tcpka', 'tcplog', 'httpchk'], #httpchk mandatory expect 200 on port 9000
|
||||
|
@@ -206,6 +206,7 @@ describe 'cloud::loadbalancer' do
|
||||
:ipaddress => params[:galera_ip],
|
||||
:ports => '3306',
|
||||
:options => {
|
||||
'maxconn' => '1000',
|
||||
'mode' => 'tcp',
|
||||
'balance' => 'roundrobin',
|
||||
'option' => ['tcpka','tcplog','httpchk'],
|
||||
|
Reference in New Issue
Block a user