diff options
author | Erik Johnston <erik@matrix.org> | 2017-10-12 18:16:25 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-10-12 18:16:25 +0100 |
commit | d76621a47b7b4b778055760d43df9d02614dac19 (patch) | |
tree | 1ee0064cd1fc9f63a9150cfb9bfc52eb2fe50364 /synapse/rest/media/v1/preview_url_resource.py | |
parent | Don't close prematurely.. (diff) | |
download | synapse-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.py | 3 |
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 |