summary refs log tree commit diff
path: root/synapse/rest/media
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-09-25 12:02:57 +0100
committerGitHub <noreply@github.com>2018-09-25 12:02:57 +0100
commit4c3e7eeec50d82982177a6eaf3114eed08346d9d (patch)
treecf4b9343618382b19b6650c9ab2969a7220a5017 /synapse/rest/media
parentadded "media-src: 'self'" to CSP for resources (#3578) (diff)
parentNewsfile (diff)
downloadsynapse-4c3e7eeec50d82982177a6eaf3114eed08346d9d.tar.xz
Merge pull request #3932 from matrix-org/erikj/auto_start_expiring_caches
Fix some instances of ExpiringCache not expiring cache items
Diffstat (limited to 'synapse/rest/media')
-rw-r--r--synapse/rest/media/v1/preview_url_resource.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/preview_url_resource.py b/synapse/rest/media/v1/preview_url_resource.py
index cad2dec33a..af01040a38 100644
--- a/synapse/rest/media/v1/preview_url_resource.py
+++ b/synapse/rest/media/v1/preview_url_resource.py
@@ -79,7 +79,6 @@ class PreviewUrlResource(Resource):
             # don't spider URLs more often than once an hour
             expiry_ms=60 * 60 * 1000,
         )
-        self._cache.start()
 
         self._cleaner_loop = self.clock.looping_call(
             self._start_expire_url_cache_data, 10 * 1000,