Skip to content

Commit

Permalink
allow to increase the db_maxconn of the connection pool using an envi…
Browse files Browse the repository at this point in the history
…ronment 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 <[email protected]>
  • Loading branch information
pedominguezbr authored Oct 28, 2024
1 parent c41d3eb commit edb157e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit edb157e

Please sign in to comment.