summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2024-07-09 16:12:11 +0100
committerGitHub <noreply@github.com>2024-07-09 15:12:11 +0000
commit4d6f7c0fc9a5407c14a2cabdc7f80c5fd2e7395e (patch)
tree7fb4d3b148c87eb8efe00af98285f9dd150e42f7
parentFix up the changelog (diff)
downloadsynapse-4d6f7c0fc9a5407c14a2cabdc7f80c5fd2e7395e.tar.xz
Route auth'd fed media requests to media repo in Complement tests (#17422)
-rw-r--r--changelog.d/17422.misc1
-rwxr-xr-xdocker/configure_workers_and_start.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/17422.misc b/changelog.d/17422.misc
new file mode 100644
index 0000000000..1f53e3c579
--- /dev/null
+++ b/changelog.d/17422.misc
@@ -0,0 +1 @@
+Route authenticated federation media requests to media repository workers in Complement tests.
\ No newline at end of file
diff --git a/docker/configure_workers_and_start.py b/docker/configure_workers_and_start.py
index b6690f3404..15d8d7b558 100755
--- a/docker/configure_workers_and_start.py
+++ b/docker/configure_workers_and_start.py
@@ -126,6 +126,7 @@ WORKERS_CONFIG: Dict[str, Dict[str, Any]] = {
             "^/_synapse/admin/v1/media/.*$",
             "^/_synapse/admin/v1/quarantine_media/.*$",
             "^/_matrix/client/v1/media/.*$",
+            "^/_matrix/federation/v1/media/.*$",
         ],
         # The first configured media worker will run the media background jobs
         "shared_extra_conf": {