summary refs log tree commit diff
path: root/synapse/rest/media/v1/preview_url_resource.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-10-12 18:16:25 +0100
committerErik Johnston <erik@matrix.org>2017-10-12 18:16:25 +0100
commitd76621a47b7b4b778055760d43df9d02614dac19 (patch)
tree1ee0064cd1fc9f63a9150cfb9bfc52eb2fe50364 /synapse/rest/media/v1/preview_url_resource.py
parentDon't close prematurely.. (diff)
downloadsynapse-d76621a47b7b4b778055760d43df9d02614dac19.tar.xz
Fix comments
Diffstat (limited to 'synapse/rest/media/v1/preview_url_resource.py')
-rw-r--r--synapse/rest/media/v1/preview_url_resource.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/rest/media/v1/preview_url_resource.py b/synapse/rest/media/v1/preview_url_resource.py
index a3288c9cc6..e986e855a7 100644
--- a/synapse/rest/media/v1/preview_url_resource.py
+++ b/synapse/rest/media/v1/preview_url_resource.py
@@ -343,6 +343,9 @@ class PreviewUrlResource(Resource):
     def _expire_url_cache_data(self):
         """Clean up expired url cache content, media and thumbnails.
         """
+
+        # TODO: Delete from backup media store
+
         now = self.clock.time_msec()
 
         # First we delete expired url cache entries