From ac85fdbedcde3242195a5030ce905167e4026093 Mon Sep 17 00:00:00 2001 From: Mourits de Beer <31511766+ff137@users.noreply.github.com> Date: Sat, 8 Feb 2025 10:13:13 +0200 Subject: [PATCH] :wrench: Increase `max_connections` in multitenant agent config (#1317) :bug: This is a bandaid for the didexchange scalability issues (see https://github.com/openwallet-foundation/acapy/issues/3492) --- helm/acapy-cloud/conf/dev/multitenant-agent-pg-proxy.yaml | 2 +- helm/acapy-cloud/conf/dev/multitenant-agent.yaml | 2 +- helm/acapy-cloud/conf/local/multitenant-agent-pg-proxy.yaml | 2 +- helm/acapy-cloud/conf/local/multitenant-agent.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/helm/acapy-cloud/conf/dev/multitenant-agent-pg-proxy.yaml b/helm/acapy-cloud/conf/dev/multitenant-agent-pg-proxy.yaml index 0408cf3d1..8da37f1c6 100644 --- a/helm/acapy-cloud/conf/dev/multitenant-agent-pg-proxy.yaml +++ b/helm/acapy-cloud/conf/dev/multitenant-agent-pg-proxy.yaml @@ -1,3 +1,3 @@ secretData: - ACAPY_WALLET_STORAGE_CONFIG: '{ "max_connections":10, "min_connections":1, "url":"cloudapi-pgpool:5432" }' + ACAPY_WALLET_STORAGE_CONFIG: '{ "max_connections":100, "min_connections":1, "url":"cloudapi-pgpool:5432" }' WALLET_DB_HOST: cloudapi-pgpool diff --git a/helm/acapy-cloud/conf/dev/multitenant-agent.yaml b/helm/acapy-cloud/conf/dev/multitenant-agent.yaml index 2475fec74..2d033d7fb 100644 --- a/helm/acapy-cloud/conf/dev/multitenant-agent.yaml +++ b/helm/acapy-cloud/conf/dev/multitenant-agent.yaml @@ -142,7 +142,7 @@ secretData: ACAPY_WALLET_NAME: multitenant ACAPY_MULTITENANCY_CONFIGURATION: '{ "wallet_type":"single-wallet-askar", "wallet_name":"multitenant" }' - ACAPY_WALLET_STORAGE_CONFIG: '{ "max_connections":10, "min_connections":1, "url":"cloudapi-postgresql:5432" }' + ACAPY_WALLET_STORAGE_CONFIG: '{ "max_connections":100, "min_connections":1, "url":"cloudapi-postgresql:5432" }' ACAPY_WALLET_STORAGE_CREDS: '{ "account":"multitenant", "admin_account":"multitenant", "admin_password":"multitenant", "password":"multitenant" }' WALLET_DB_ADMIN_PASS: multitenant WALLET_DB_ADMIN_USER: multitenant diff --git a/helm/acapy-cloud/conf/local/multitenant-agent-pg-proxy.yaml b/helm/acapy-cloud/conf/local/multitenant-agent-pg-proxy.yaml index 90039fd82..db663e138 100644 --- a/helm/acapy-cloud/conf/local/multitenant-agent-pg-proxy.yaml +++ b/helm/acapy-cloud/conf/local/multitenant-agent-pg-proxy.yaml @@ -1,3 +1,3 @@ secretData: - ACAPY_WALLET_STORAGE_CONFIG: '{ "max_connections":10, "min_idle_count":10, "url":"cloudapi-pgpool:5432" }' + ACAPY_WALLET_STORAGE_CONFIG: '{ "max_connections":100, "min_idle_count":10, "url":"cloudapi-pgpool:5432" }' WALLET_DB_HOST: cloudapi-pgpool diff --git a/helm/acapy-cloud/conf/local/multitenant-agent.yaml b/helm/acapy-cloud/conf/local/multitenant-agent.yaml index 4ee84ed42..6714ee5cd 100644 --- a/helm/acapy-cloud/conf/local/multitenant-agent.yaml +++ b/helm/acapy-cloud/conf/local/multitenant-agent.yaml @@ -143,7 +143,7 @@ secretData: ACAPY_WALLET_NAME: multitenant ACAPY_MULTITENANCY_CONFIGURATION: '{ "wallet_type":"single-wallet-askar", "wallet_name":"multitenant" }' - ACAPY_WALLET_STORAGE_CONFIG: '{ "max_connections":10, "min_idle_count":10, "url":"cloudapi-postgresql:5432" }' + ACAPY_WALLET_STORAGE_CONFIG: '{ "max_connections":100, "min_idle_count":10, "url":"cloudapi-postgresql:5432" }' ACAPY_WALLET_STORAGE_CREDS: '{ "account":"multitenant", "admin_account":"multitenant", "admin_password":"multitenant", "password":"multitenant" }' WALLET_DB_ADMIN_PASS: multitenant WALLET_DB_ADMIN_USER: multitenant