commit 8cba6fe86ba66c75d5dedfac671287e4f737b847 parent 7bfb26bd6962cc5e646d01a0c229fccfc3fbdf28 Author: MTRNord <mtrnord1@gmail.com> Date: Fri, 7 Apr 2023 03:14:50 +0200 Try to improve postgres cluster Diffstat:
| M | infrastructure/configs/postgres-clusters.yaml | | | 16 | +++++++++++----- |
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/infrastructure/configs/postgres-clusters.yaml b/infrastructure/configs/postgres-clusters.yaml @@ -12,21 +12,27 @@ metadata: name: matrix-postgres-cluster namespace: matrix-postgres-cluster spec: - allowedSourceRanges: [] + enableShmVolume: true databases: synapse: synapse matrix_media_repo: matrix_media_repo syncv3: syncv3 signal_bridge: signal_bridge instagram_bridge: instagram_bridge - enableConnectionPooler: false - enableReplicaConnectionPooler: false - numberOfInstances: 1 + numberOfInstances: 2 + resources: + requests: + cpu: 10m + memory: 100Mi + limits: + cpu: 500m + memory: 500Mi postgresql: version: "15" parameters: password_encryption: scram-sha-256 - max_connections: "400" + max_connections: "200" + log_statement: "all" teamId: matrix users: synapse: []