Skip to content

Commit

Permalink
🔧 Increase max_connections in multitenant agent config (#1317)
Browse files Browse the repository at this point in the history
🐛 This is a bandaid for the didexchange scalability issues (see openwallet-foundation/acapy#3492)
  • Loading branch information
ff137 authored Feb 8, 2025
1 parent b9bce35 commit ac85fdb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion helm/acapy-cloud/conf/dev/multitenant-agent-pg-proxy.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion helm/acapy-cloud/conf/dev/multitenant-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion helm/acapy-cloud/conf/local/multitenant-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac85fdb

Please sign in to comment.