Add config options for database section
Add max_pool_size and max_overflow for database section of config file. This helps to customize database limits for ccp and further for each node. Change-Id: Ibfe7ac44e73b8540d7cfe73eaae041c70bbc9a73 Closes-bug: #1653077
This commit is contained in:
parent
4a560b99ff
commit
3f0d6ecede
|
@ -4,6 +4,8 @@ configs:
|
|||
password: password
|
||||
name: neutron
|
||||
username: neutron
|
||||
max_pool_size: 10
|
||||
max_overflow: 50
|
||||
server_port:
|
||||
cont: 9696
|
||||
ingress: network
|
||||
|
|
|
@ -57,6 +57,8 @@ root_helper_daemon = sudo neutron-rootwrap-daemon /etc/neutron/rootwrap.conf
|
|||
[database]
|
||||
connection = mysql+pymysql://{{ neutron.db.username }}:{{ neutron.db.password }}@{{ address(service.database) }}/{{ neutron.db.name }}
|
||||
max_retries = -1
|
||||
max_pool_size = {{ neutron.db.max_pool_size }}
|
||||
max_overflow = {{ neutron.db.max_overflow }}
|
||||
|
||||
[keystone_authtoken]
|
||||
auth_uri = {{ address('keystone', keystone.public_port, with_scheme=True) }}
|
||||
|
|
Loading…
Reference in New Issue