diff --git a/service/files/defaults.yaml b/service/files/defaults.yaml index ba42f6d..bffc198 100644 --- a/service/files/defaults.yaml +++ b/service/files/defaults.yaml @@ -4,6 +4,8 @@ configs: password: password name: neutron username: neutron + max_pool_size: 10 + max_overflow: 50 server_port: cont: 9696 ingress: network diff --git a/service/files/neutron.conf.j2 b/service/files/neutron.conf.j2 index 6b9770c..70f6b60 100644 --- a/service/files/neutron.conf.j2 +++ b/service/files/neutron.conf.j2 @@ -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) }}