Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complement runner configures the media worker as synapse.app.generic_worker instead of synapse.app.media_repository, which looks like it shouldn't work but apparently does #16826

Open
reivilibre opened this issue Jan 18, 2024 · 1 comment

Comments

@reivilibre
Copy link
Contributor

https://element-hq.github.io/synapse/latest/workers.html#synapseappmedia_repository

This seems to be the only place where the app name matters for the media repo:

and config.get("worker_app") != "synapse.app.media_repository"

but crucially it does seem to matter! But the Complement tests are passing...?

#16803 (comment)

@erikjohnston
Copy link
Member

Huh, yeah. Looks like either the app can be synapse.app.media_repository OR enable_media_repo can be set to True.

Given we want to move everything to a single app (generic worker) and instead use config options, this is probably correct. We should double check / test this behaviour and then document it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants