From edb157e16467a3d9d381fb7425af2dc97def5b3a Mon Sep 17 00:00:00 2001 From: pedominguezbr Date: Mon, 28 Oct 2024 16:23:22 -0500 Subject: [PATCH] allow to increase the db_maxconn of the connection pool using an environment variable Update the line with; db_maxconn = 64, to something like: db_maxconn = {{ODOO_DATABASE_MAXCONN}} to allow the db_maxconn to be assigned via environment variable, since the parameter does not exist in the odoo cmdline. Signed-off-by: pedominguezbr --- .../opt/bitnami/scripts/odoo/bitnami-templates/odoo.conf.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitnami/odoo/16/debian-12/rootfs/opt/bitnami/scripts/odoo/bitnami-templates/odoo.conf.tpl b/bitnami/odoo/16/debian-12/rootfs/opt/bitnami/scripts/odoo/bitnami-templates/odoo.conf.tpl index c98e300d315d7..2cf4d7f3832e1 100644 --- a/bitnami/odoo/16/debian-12/rootfs/opt/bitnami/scripts/odoo/bitnami-templates/odoo.conf.tpl +++ b/bitnami/odoo/16/debian-12/rootfs/opt/bitnami/scripts/odoo/bitnami-templates/odoo.conf.tpl @@ -4,7 +4,7 @@ admin_passwd = {{ODOO_PASSWORD}} ; csv_internal_sep = , data_dir = {{ODOO_DATA_DIR}} db_host = {{ODOO_DATABASE_HOST}} -; db_maxconn = 64 +db_maxconn = {{ODOO_DATABASE_MAXCONN}} db_name = {{ODOO_DATABASE_NAME}} db_password = {{ODOO_DATABASE_PASSWORD}} db_port = {{ODOO_DATABASE_PORT_NUMBER}}