summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-09-28 12:59:01 +0100
committerErik Johnston <erik@matrix.org>2017-09-28 12:59:01 +0100
commit5f501ec7e2645abe232bd6bab407ac863e3250c2 (patch)
tree0c96eadc8d57c316a82ac15dd19f98f8fdbc1b04 /synapse
parentMerge pull request #2479 from matrix-org/erikj/expire_url_cache_thumbnails (diff)
downloadsynapse-5f501ec7e2645abe232bd6bab407ac863e3250c2.tar.xz
Fix typo in url cache expiry timer
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/media/v1/preview_url_resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/preview_url_resource.py b/synapse/rest/media/v1/preview_url_resource.py
index 6f896ffb53..1616809e8f 100644
--- a/synapse/rest/media/v1/preview_url_resource.py
+++ b/synapse/rest/media/v1/preview_url_resource.py
@@ -74,7 +74,7 @@ class PreviewUrlResource(Resource):
         self.downloads = {}
 
         self._cleaner_loop = self.clock.looping_call(
-            self._expire_url_cache_data, 30 * 10000
+            self._expire_url_cache_data, 30 * 1000
         )
 
     def render_GET(self, request):