summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-11-21 13:29:39 +0000
committerRichard van der Hoff <richard@matrix.org>2017-11-22 16:20:27 +0000
commit68ca8641419ee42606192787b92152353f5c112e (patch)
tree6bbaf289bb72c86a5d1002f69934bd6f20e0ad29 /docs
parentBuild MediaRepositoryResource as a homeserver dependency (diff)
downloadsynapse-68ca8641419ee42606192787b92152353f5c112e.tar.xz
Add config option to disable media_repo on main synapse
... to stop us doing the cache cleanup jobs on the master.
Diffstat (limited to 'docs')
-rw-r--r--docs/workers.rst5
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
-