From ae385a4efb31b10d7563e8b518743fcc2139e14c Mon Sep 17 00:00:00 2001
From: Tom Teichler <tom.teichler@teckids.org>
Date: Thu, 5 Dec 2024 12:35:22 +0100
Subject: [PATCH] Increase ratelimit

---
 .gitlab-ci.yml      | 2 +-
 values_synapse.yaml | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c9204c1..5daae59 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,7 +21,7 @@ deploy_homeserver:
     - sed -e "s/SIGNING_KEY/$SIGNING_KEY/g" -e "s/POSTGRES_PASSWORD/$POSTGRES_PASSWORD/g" secrets_synapse.in.yaml >secrets_synapse.yaml
   script:
     - kubectl apply -f secrets_synapse.yaml
-    - helm upgrade --install $CI_ENVIRONMENT_SLUG-synapse ananace-charts/matrix-synapse --version 3.10.1
+    - helm upgrade --install $CI_ENVIRONMENT_SLUG-synapse ananace-charts/matrix-synapse --version 3.10.3
         --set podAnnotations.'app\.gitlab\.com'/env=$CI_ENVIRONMENT_SLUG
         --set podAnnotations.'app\.gitlab\.com'/app=$CI_PROJECT_PATH_SLUG
         --set config.turnSecret=$TURN_SECRET
diff --git a/values_synapse.yaml b/values_synapse.yaml
index d73bf48..714f504 100644
--- a/values_synapse.yaml
+++ b/values_synapse.yaml
@@ -17,6 +17,8 @@ extraConfig:
   rc_message:
     per_second: 25
     burst_count: 250
+  remote_media_download_per_second: 500K
+  remote_media_download_burst_count: 2000M
   database:
     cp_min: 10
     cp_max: 30
-- 
GitLab