summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2016-04-03 00:48:31 +0100
committerMatthew Hodgson <matthew@matrix.org>2016-04-03 00:48:31 +0100
commit110780b18b029c5b6f1c34f7b4e027b88ea8b8ce (patch)
treee826248582ec94e65d04748bb09d943f2b80ab3c /synapse
parentEnsure only one download for a given URL is active at a time (diff)
downloadsynapse-110780b18b029c5b6f1c34f7b4e027b88ea8b8ce.tar.xz
remove stale todo
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/media/v1/preview_url_resource.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/rest/media/v1/preview_url_resource.py b/synapse/rest/media/v1/preview_url_resource.py
index c20de57991..582dd20fa6 100644
--- a/synapse/rest/media/v1/preview_url_resource.py
+++ b/synapse/rest/media/v1/preview_url_resource.py
@@ -63,9 +63,6 @@ class PreviewUrlResource(BaseMediaResource):
             url = request.args.get("url")[0]
             ts = request.args.get("ts")[0] if "ts" in request.args else self.clock.time_msec()
 
-            # TODO: keep track of whether there's an ongoing request for this preview
-            # and block and return their details if there is one.
-
             # first check the memory cache - good to handle all the clients on this
             # HS thundering away to preview the same URL at the same time.
             try: