mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-12-03 10:49:35 +00:00
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>