summary refs log tree commit diff
path: root/synapse/rest/media
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-01-09 17:17:10 +0000
committerErik Johnston <erik@matrix.org>2017-01-09 17:17:10 +0000
commitf7085ac84f76ee621ea52c9eaa0399c786d14027 (patch)
treece34c8e95e5a880172bc3681fe019902a843bbb9 /synapse/rest/media
parentMerge branch 'master' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-f7085ac84f76ee621ea52c9eaa0399c786d14027.tar.xz
Name linearizer's for better logs
Diffstat (limited to 'synapse/rest/media')
-rw-r--r--synapse/rest/media/v1/media_repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/media_repository.py b/synapse/rest/media/v1/media_repository.py
index 692e078419..2b693ae548 100644
--- a/synapse/rest/media/v1/media_repository.py
+++ b/synapse/rest/media/v1/media_repository.py
@@ -61,7 +61,7 @@ class MediaRepository(object):
         self.dynamic_thumbnails = hs.config.dynamic_thumbnails
         self.thumbnail_requirements = hs.config.thumbnail_requirements
 
-        self.remote_media_linearizer = Linearizer()
+        self.remote_media_linearizer = Linearizer(name="media_remote")
 
         self.recently_accessed_remotes = set()