summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config_tpl/juju2')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/mysql.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
index e5626a75..dd455f0d 100644
--- a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
@@ -8,11 +8,12 @@
{% endif %}
options:
{% if os.ha.mode == 'ha' %}
- innodb-buffer-pool-size: 1G
+ innodb-buffer-pool-size: 16M
+ max-connections: 200
{% else %}
innodb-buffer-pool-size: 1G
-{% endif %}
max-connections: 4000
+{% endif %}
#performance-schema: true
#source: "deb http://repo.percona.com/apt xenial main"
#key: "8507EFA5"