From f57055b09676cd485ce8271f0f40a05b807fa473 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Mon, 4 Apr 2022 00:20:51 +0200
Subject: [PATCH] fix(matrix): Increase memory requests and limits for database

This patch increases the memory requests and limits for the matrix
postgres database in order to ensure good performance and the expected
availability. The current database uses almost 2 GiB of RAM. However,
it's mostly filesystem caching. This patch should help to utilise the
RAM better than leaving it just idle.
---
 apps/base/matrix/database.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/base/matrix/database.yaml b/apps/base/matrix/database.yaml
index b6225e82e..d80a855bb 100644
--- a/apps/base/matrix/database.yaml
+++ b/apps/base/matrix/database.yaml
@@ -24,7 +24,7 @@ spec:
   resources:
     requests:
       cpu: 200m
-      memory: 512Mi
+      memory: 2048Mi
     limits:
       cpu: "1"
-      memory: 2048Mi
+      memory: 3072Mi
-- 
GitLab