Files
matrix-docker-ansible-deploy/roles
Slavi PantaleevandClaude Opus 5.5 dff6d37cfb matrix-synapse: keep the main process media-capable without a quarantined_media_changes writer
Without a `quarantined_media_changes` stream writer worker, the main process
is the writer for that stream and the reverse-proxy companion routes the
quarantine admin APIs to it. When media repository workers were enabled,
the main process had `enable_media_repo: false`, so it did not register
those APIs and returned 404.

Keep `enable_media_repo` enabled on the main process in that case.
The media repository's main background jobs remain assigned to the first
media repository worker via `media_instance_running_background_jobs`.

Since `homeserver.yaml` is shared with all workers, the other workers'
configuration files disable `enable_media_repo` again, so they don't load
the media repository (and run its retention tasks) needlessly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:15:03 +02:00
..