Skip to content

Commit

Permalink
add new media endpoints to media repo worker
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Shay committed Jul 2, 2024
1 parent b2a7a9c commit f3f19a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/configure_workers_and_start.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,15 @@
},
"media_repository": {
"app": "synapse.app.generic_worker",
"listener_resources": ["media"],
"listener_resources": ["media", "client"],
"endpoint_patterns": [
"^/_matrix/media/",
"^/_synapse/admin/v1/purge_media_cache$",
"^/_synapse/admin/v1/room/.*/media.*$",
"^/_synapse/admin/v1/user/.*/media.*$",
"^/_synapse/admin/v1/media/.*$",
"^/_synapse/admin/v1/quarantine_media/.*$",
"^/_matrix/client/v1/media/.*$"
],
# The first configured media worker will run the media background jobs
"shared_extra_conf": {
Expand Down

0 comments on commit f3f19a1

Please sign in to comment.