diff options
author | Richard van der Hoff <github@rvanderhoff.org.uk> | 2017-11-22 16:46:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-22 16:46:09 +0000 |
commit | 79eba878a78acc59908505d41c7890a29f5cc41b (patch) | |
tree | 6bbaf289bb72c86a5d1002f69934bd6f20e0ad29 /docs | |
parent | Merge pull request #2700 from matrix-org/rav/worker_docs (diff) | |
parent | Add config option to disable media_repo on main synapse (diff) | |
download | synapse-79eba878a78acc59908505d41c7890a29f5cc41b.tar.xz |
Merge pull request #2701 from matrix-org/rav/one_mediarepo_to_rule_them_all
Try to avoid having multiple PreviewUrlResource instances
Diffstat (limited to 'docs')
-rw-r--r-- | docs/workers.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/workers.rst b/docs/workers.rst index 3cc8b3d82e..b39f79058e 100644 --- a/docs/workers.rst +++ b/docs/workers.rst @@ -170,6 +170,10 @@ Handles the media repository. It can handle all endpoints starting with:: /_matrix/media/ +You should also set ``enable_media_repo: False`` in the shared configuration +file to stop the main synapse running background jobs related to managing the +media repository. + Note this worker cannot be load-balanced: only one instance should be active. ``synapse.app.client_reader`` @@ -203,4 +207,3 @@ the ``worker_main_http_uri`` setting in the frontend_proxy worker configuration file. For example:: worker_main_http_uri: http://127.0.0.1:8008 - |